From 883d5b51985306f8519d3a93136637d8f29d726d Mon Sep 17 00:00:00 2001 From: Syarif Fakhri Date: Fri, 9 Sep 2022 15:38:31 +0800 Subject: [PATCH] fix crash when sometimes restoring state --- src/DockManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DockManager.cpp b/src/DockManager.cpp index 0a3442e..66f6130 100644 --- a/src/DockManager.cpp +++ b/src/DockManager.cpp @@ -432,8 +432,8 @@ bool DockManagerPrivate::restoreState(const QByteArray& State, int version) // Hide updates of floating widgets from use hideFloatingWidgets(); - _this->deleteOverlayWidgets(); markDockWidgetsDirty(); + _this->deleteOverlayWidgets(); if (!restoreStateFromXml(state, version)) {