From 0c85ba042592afb97e0785c22dbf75cc4fe82ebd Mon Sep 17 00:00:00 2001 From: crschnick Date: Thu, 17 Oct 2024 08:21:30 +0000 Subject: [PATCH] Only open browser after session is started --- .../main/java/io/xpipe/ext/base/action/BrowseStoreAction.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/base/src/main/java/io/xpipe/ext/base/action/BrowseStoreAction.java b/ext/base/src/main/java/io/xpipe/ext/base/action/BrowseStoreAction.java index fa9f641f3..c73332e51 100644 --- a/ext/base/src/main/java/io/xpipe/ext/base/action/BrowseStoreAction.java +++ b/ext/base/src/main/java/io/xpipe/ext/base/action/BrowseStoreAction.java @@ -54,10 +54,10 @@ public class BrowseStoreAction implements ActionProvider { DataStoreEntry entry; @Override - public void execute() { + public void execute() throws Exception { DataStoreEntryRef replacement = ProcessControlProvider.get().replace(entry.ref()); - BrowserSessionModel.DEFAULT.openFileSystemAsync(replacement, null, new SimpleBooleanProperty()); + BrowserSessionModel.DEFAULT.openFileSystemSync(replacement, null, new SimpleBooleanProperty()); AppLayoutModel.get().selectBrowser(); } }