Skip to content

Commit 426f8c8

Browse files
author
SuslikV
authored
Unify the getDocks searching algorithm
Newly created docks should be listed too.
1 parent 4431bd5 commit 426f8c8

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/windows/main_window.py

+1-6
Original file line numberDiff line numberDiff line change
@@ -1880,12 +1880,7 @@ def resize_contents(self):
18801880

18811881
def getDocks(self):
18821882
""" Get a list of all dockable widgets """
1883-
return [self.dockFiles,
1884-
self.dockTransitions,
1885-
self.dockEffects,
1886-
self.dockVideo,
1887-
self.dockProperties,
1888-
self.dockTimeline]
1883+
return self.findChildren(QDockWidget)
18891884

18901885
def removeDocks(self):
18911886
""" Remove all dockable widgets on main screen """

0 commit comments

Comments
 (0)