Ensure time log dialog gets closed when Pomodoro Timer finishes and user logs time.

This commit is contained in:
Miguel Jacq 2025-12-02 14:58:45 +11:00
parent 0b76f0b490
commit 605444b149
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9
2 changed files with 7 additions and 1 deletions

View file

@ -1,6 +1,7 @@
# 0.6.1 # 0.6.1
* Consolidate some code related to opening documents using the Documents feature. * 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 * More code coverage
# 0.6.0 # 0.6.0

View file

@ -139,7 +139,12 @@ class PomodoroManager:
# Open time log dialog # Open time log dialog
dlg = TimeLogDialog( 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 # Pre-fill the hours