Skip to content

Commit 1d30210

Browse files
authored
Initialize editor visibility handling (#531)
1 parent 1daae93 commit 1d30210

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cq_editor/main_window.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ def __init__(self, parent=None, filename=None):
122122
# Handle the event of the editor being hidden or shown
123123
self.editor_dock = self.docks["editor"]
124124
self.editor_dock.visibilityChanged.connect(self.handleEditorVisiblityChange)
125+
self.handleEditorVisiblityChange(not self.editor_dock.isHidden())
125126

126127
# Let the user know when the file has been modified
127128
self.components["editor"].document().modificationChanged.connect(

0 commit comments

Comments
 (0)