mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-11-15 13:15:43 +08:00
Update FloatingDockContainer.cpp
saveState() may use the floatingDockContainer to be deleted
This commit is contained in:
parent
ccbde05fb7
commit
c08d91687a
@ -1133,6 +1133,10 @@ void CFloatingDockContainer::hideAndDeleteLater()
|
|||||||
d->AutoHideChildren = false;
|
d->AutoHideChildren = false;
|
||||||
hide();
|
hide();
|
||||||
deleteLater();
|
deleteLater();
|
||||||
|
if (d->DockManager)
|
||||||
|
{
|
||||||
|
d->DockManager->removeFloatingWidget(this);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//============================================================================
|
//============================================================================
|
||||||
|
Loading…
Reference in New Issue
Block a user