mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-24 23:31:32 +08:00
fix crash when sometimes restoring state
This commit is contained in:
parent
3ef1ac97c2
commit
883d5b5198
@ -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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user