mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-25 23:51:33 +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
|
// Hide updates of floating widgets from use
|
||||||
hideFloatingWidgets();
|
hideFloatingWidgets();
|
||||||
_this->deleteOverlayWidgets();
|
|
||||||
markDockWidgetsDirty();
|
markDockWidgetsDirty();
|
||||||
|
_this->deleteOverlayWidgets();
|
||||||
|
|
||||||
if (!restoreStateFromXml(state, version))
|
if (!restoreStateFromXml(state, version))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user