Skip to content

Commit

Permalink
Fix initial visibility of editor toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
vkbo committed Nov 8, 2023
1 parent 3f0de93 commit ebe1998
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions novelwriter/gui/doceditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ def clearEditor(self) -> None:
self.setDocumentChanged(False)
self.docHeader.setTitleFromHandle(self._docHandle)
self.docFooter.setHandle(self._docHandle)
self.docToolBar.setVisible(False)

return

Expand Down Expand Up @@ -2176,6 +2177,9 @@ def __init__(self, docEditor: GuiDocEditor) -> None:
self.setLayout(self.outerBox)
self.updateTheme()

# Starts as Invisible
self.setVisible(False)

logger.debug("Ready: GuiDocToolBar")

return
Expand Down

0 comments on commit ebe1998

Please sign in to comment.