From 0b3249c7ef78910d40a3a833acf0b2030f483c30 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Wed, 19 Nov 2025 12:46:38 +1100 Subject: [PATCH] Fix reloading summary on collapsed Time Log widget after closing Time Log dialog --- bouquin/time_log.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bouquin/time_log.py b/bouquin/time_log.py index 683c97a..786c14c 100644 --- a/bouquin/time_log.py +++ b/bouquin/time_log.py @@ -158,9 +158,11 @@ class TimeLogWidget(QFrame): dlg = TimeLogDialog(self._db, self._current_date, self) dlg.exec() - # Always refresh summary when the dialog closes; the user may have changed entries + # Always refresh summary + header totals + self._reload_summary() + if self.toggle_btn.isChecked(): - self._reload_summary() + self.summary_label.setText(strings._("time_log_collapsed_hint")) class TimeLogDialog(QDialog):