Skip to content

Commit b691d6c

Browse files
committed
added Project Information to reminder dialog
1 parent cc4926a commit b691d6c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/de/doubleslash/keeptime/view/ProjectsListViewController.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,8 @@ private void changeProject(final Project newProject, final long minusSeconds) {
174174
noteDialog.setTitle("Empty Notes");
175175
noteDialog.setHeaderText(
176176
"You are About to switch Projects but your current work has no Notes associated with it.");
177-
noteDialog.setContentText("You can add Notes now:");
177+
noteDialog.setContentText("You can add Notes now to your work.\n Current Project: "
178+
+ model.activeWorkItem.get().getProject().getName());
178179
noteDialog.initOwner(mainStage);
179180

180181
final Optional<String> result = noteDialog.showAndWait();

0 commit comments

Comments
 (0)