File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/main/java/de/doubleslash/keeptime/viewpopup Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ public class ViewControllerPopup {
4848
4949 @ FXML
5050 private TextField searchTextField ;
51+
5152 @ FXML
5253 private ListView <Project > projectListView ;
5354
@@ -69,9 +70,10 @@ private void changeProject(final Project item) {
6970 "Add a note for '" + model .activeWorkItem .get ().getProject ().getName () + "' before changing project?" );
7071 dialog .setContentText ("Note: " );
7172
72- this .stage .setAlwaysOnTop (false );
73+ final Stage dialogStage = (Stage ) dialog .getDialogPane ().getScene ().getWindow ();
74+ dialogStage .setAlwaysOnTop (true );
75+
7376 final Optional <String > result = dialog .showAndWait ();
74- this .stage .setAlwaysOnTop (true );
7577
7678 result .ifPresent (note -> {
7779 controller .setComment (note );
You can’t perform that action at this time.
0 commit comments