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):