diff --git a/app/src/main/java/io/xpipe/app/browser/session/BrowserChooserComp.java b/app/src/main/java/io/xpipe/app/browser/session/BrowserChooserComp.java index 290d7df58..0f1c2bf94 100644 --- a/app/src/main/java/io/xpipe/app/browser/session/BrowserChooserComp.java +++ b/app/src/main/java/io/xpipe/app/browser/session/BrowserChooserComp.java @@ -81,6 +81,12 @@ public class BrowserChooserComp extends SimpleComp { return; } + // Don't open same system again + var current = model.getSelectedEntry().getValue(); + if (current != null && entry.ref().equals(current.getEntry())) { + return; + } + if (entry.getStore() instanceof ShellStore fileSystem) { model.openFileSystemAsync(entry.ref(), null, busy); }