bring window to front

[ci skip]
This commit is contained in:
Sebastian Stenzel
2019-07-31 09:46:15 +02:00
parent 2f1a7821b0
commit 1f6b94003e
2 changed files with 2 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ public interface MainWindowComponent {
Stage stage = window();
stage.setScene(scene().get());
stage.show();
stage.requestFocus();
}
@Subcomponent.Builder

View File

@@ -27,6 +27,7 @@ public interface PreferencesComponent {
Stage stage = window();
stage.setScene(scene().get());
stage.show();
stage.requestFocus();
}
@Subcomponent.Builder