Skip to content

Commit 4068610

Browse files
ddamkeddamke
authored andcommitted
add fix for issue #92
1 parent 7dcfdbe commit 4068610

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ private void changeProject(final Project newProject, final long minusSeconds) {
169169
}
170170
if (model.remindIfNotesAreEmpty.get()) {
171171
final Work currentWork = model.activeWorkItem.get();
172-
if (currentWork != null && currentWork.getNotes().isEmpty()) {
172+
if (currentWork != null && currentWork.getNotes().isEmpty() &&currentWork.getProject().isWork()) {
173173
final TextInputDialog noteDialog = new TextInputDialog();
174174
noteDialog.setTitle("Empty Notes");
175175
noteDialog.setHeaderText("Switch projects without notes?");

0 commit comments

Comments
 (0)