mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-05-03 19:30:31 +00:00
Only open browser after session is started
This commit is contained in:
@@ -54,10 +54,10 @@ public class BrowseStoreAction implements ActionProvider {
|
||||
DataStoreEntry entry;
|
||||
|
||||
@Override
|
||||
public void execute() {
|
||||
public void execute() throws Exception {
|
||||
DataStoreEntryRef<FileSystemStore> replacement =
|
||||
ProcessControlProvider.get().replace(entry.ref());
|
||||
BrowserSessionModel.DEFAULT.openFileSystemAsync(replacement, null, new SimpleBooleanProperty());
|
||||
BrowserSessionModel.DEFAULT.openFileSystemSync(replacement, null, new SimpleBooleanProperty());
|
||||
AppLayoutModel.get().selectBrowser();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user