Skip to content

Commit

Permalink
Added called to #showMainWindow
Browse files Browse the repository at this point in the history
  • Loading branch information
JaniruTEC committed Jul 5, 2023
1 parent a3c953d commit 91de0c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public CompletionStage<Stage> showPreferencesWindow(SelectedPreferencesTab selec
}

public CompletionStage<Stage> showVaultOptionsWindow(Vault vault, SelectedVaultOptionsTab tab) {
return CompletableFuture.supplyAsync(() -> vaultOptionsWindow.create(vault).showVaultOptionsWindow(tab), Platform::runLater).whenComplete(this::reportErrors);
return showMainWindow().thenApplyAsync((window) -> vaultOptionsWindow.create(vault).showVaultOptionsWindow(tab), Platform::runLater).whenComplete(this::reportErrors);
}

public void showQuitWindow(QuitResponse response, boolean forced) {
Expand Down

0 comments on commit 91de0c1

Please sign in to comment.