1
0
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:
2026-01-08 23:37:26 +01:00
parent 522934f8cd
commit 6b2b42f21a

View File

@@ -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)