Ensure toolbar is always loaded at end of MainWindow init (weird random bug)
This commit is contained in:
parent
808b878658
commit
46aed33cf7
2 changed files with 8 additions and 2 deletions
|
|
@ -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."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue