diff --git a/CHANGELOG.md b/CHANGELOG.md index e568e64..e2c767d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # 0.6.1 * Consolidate some code related to opening documents using the Documents feature. + * Ensure time log dialog gets closed when Pomodoro Timer finishes and user logs time. * More code coverage # 0.6.0 diff --git a/bouquin/pomodoro_timer.py b/bouquin/pomodoro_timer.py index aa83566..445120c 100644 --- a/bouquin/pomodoro_timer.py +++ b/bouquin/pomodoro_timer.py @@ -139,7 +139,12 @@ class PomodoroManager: # Open time log dialog dlg = TimeLogDialog( - self._db, date_iso, self._parent, True, themes=self._parent.themes + self._db, + date_iso, + self._parent, + True, + themes=self._parent.themes, + close_after_add=True, ) # Pre-fill the hours