fix(advanced_dock_area): remove all widgets when loading new profiles

This commit is contained in:
2026-03-05 18:12:30 +01:00
parent 6b2b42f21a
commit b841cfbc5f
@@ -688,6 +688,9 @@ class AdvancedDockArea(DockAreaWidget):
QMessageBox.warning(self, "Profile not found", f"Profile '{name}' not found.")
return
# Clear existing docks and remove all widgets
self.delete_all()
# Rebuild widgets and restore states
for item in read_manifest(settings):
obj_name = item["object_name"]