We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 426f8c8 commit 2103527Copy full SHA for 2103527
src/windows/main_window.py
@@ -2329,15 +2329,15 @@ def resizeEvent(self, event):
2329
def showEvent(self, event):
2330
""" Have any child windows follow main-window state """
2331
QMainWindow.showEvent(self, event)
2332
- for child in self.findChildren(QDockWidget):
+ for child in self.getDocks():
2333
if child.isFloating() and child.isEnabled():
2334
child.raise_()
2335
child.show()
2336
2337
def hideEvent(self, event):
2338
""" Have any child windows hide with main window """
2339
QMainWindow.hideEvent(self, event)
2340
2341
if child.isFloating() and child.isVisible():
2342
child.hide()
2343
0 commit comments