fix(dock_area): restore state safeguard to not pass none to pyqtgraph restoreState

This commit is contained in:
wyzula_j committed 2025-04-30 13:14:16 +02:00
1 parent 205745cc72
commit 9079ddd727
1 file changed
+2
@@ -308,6 +308,8 @@ class BECDockArea(BECWidget, QWidget):
"""
if state is None:
state = self.config.docks_state
if state is None:
return
self.dock_area.restoreState(state, missing=missing, extra=extra)
@SafeSlot()