diff --git a/src/DockContainerWidget.cpp b/src/DockContainerWidget.cpp index 53bdd1b..afd2b9c 100644 --- a/src/DockContainerWidget.cpp +++ b/src/DockContainerWidget.cpp @@ -1680,7 +1680,10 @@ bool CDockContainerWidget::restoreState(CDockingStateReader& s, bool Testing) if (!Testing) { CFloatingDockContainer* FloatingWidget = floatingWidget(); - FloatingWidget->restoreGeometry(Geometry); + if (FloatingWidget) + { + FloatingWidget->restoreGeometry(Geometry); + } } }