Ensure toolbar is always loaded at end of MainWindow init (weird random bug)
Some checks failed
CI / test (push) Successful in 5m43s
Lint / test (push) Failing after 29s
Trivy / test (push) Successful in 24s

This commit is contained in:
Miguel Jacq 2025-11-26 13:37:13 +11:00
parent 808b878658
commit 46aed33cf7
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9
2 changed files with 8 additions and 2 deletions

View file

@ -356,6 +356,9 @@ class MainWindow(QMainWindow):
self._day_change_timer.timeout.connect(self._on_day_changed)
self._schedule_next_day_change()
# Ensure toolbar is definitely visible
self.toolBar.setVisible(True)
@property
def editor(self) -> MarkdownEditor | None:
"""Get the currently active editor."""