mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-21 23:20:23 +00:00
Only open browser after session is started
This commit is contained in:
parent
1dd08fce8d
commit
0c85ba0425
1 changed files with 2 additions and 2 deletions
|
@ -54,10 +54,10 @@ public class BrowseStoreAction implements ActionProvider {
|
||||||
DataStoreEntry entry;
|
DataStoreEntry entry;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void execute() {
|
public void execute() throws Exception {
|
||||||
DataStoreEntryRef<FileSystemStore> replacement =
|
DataStoreEntryRef<FileSystemStore> replacement =
|
||||||
ProcessControlProvider.get().replace(entry.ref());
|
ProcessControlProvider.get().replace(entry.ref());
|
||||||
BrowserSessionModel.DEFAULT.openFileSystemAsync(replacement, null, new SimpleBooleanProperty());
|
BrowserSessionModel.DEFAULT.openFileSystemSync(replacement, null, new SimpleBooleanProperty());
|
||||||
AppLayoutModel.get().selectBrowser();
|
AppLayoutModel.get().selectBrowser();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue