We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f58ecd7 commit 0751b3fCopy full SHA for 0751b3f
src/main/java/de/doubleslash/keeptime/view/ProjectsListViewController.java
@@ -176,7 +176,8 @@ private Optional<String> showDialogNoNoteSelected(Work currentWork) {
176
noteDialog.setTitle("Empty Notes");
177
noteDialog.setHeaderText("Switch projects without notes?");
178
noteDialog.setContentText("What did you do for project '" + currentWork.getProject().getName() + "' ?");
179
- noteDialog.initOwner(mainStage);
+ Stage importConfirmationStage = (Stage) noteDialog.getDialogPane().getScene().getWindow();
180
+ importConfirmationStage.getIcons().add(new Image(Resources.getResource(RESOURCE.ICON_MAIN).toString()));
181
182
final Optional<String> result = noteDialog.showAndWait();
183
return result;
0 commit comments