mirror of
https://github.com/bec-project/bec_widgets.git
synced 2026-03-08 09:47:48 +01:00
fix(basic_dock_area): delete_all will also delete floating docks
This commit is contained in:
@@ -1372,7 +1372,7 @@ class DockAreaWidget(BECWidget, QWidget):
|
||||
@SafeSlot()
|
||||
def delete_all(self):
|
||||
"""Delete all docks and their associated widgets."""
|
||||
for dock in list(self.dock_manager.dockWidgets()):
|
||||
for dock in self.dock_list():
|
||||
self._delete_dock(dock)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user