mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2025-01-26 14:29:02 +08:00
add comment
This commit is contained in:
parent
ac311d6d45
commit
0e5329fd3e
@ -195,6 +195,7 @@ void DockWidgetPrivate::showDockWidget()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// If this widget is pinned and there are no opened dock widgets, unpin the overlay widget by moving it's contents to parent container
|
// If this widget is pinned and there are no opened dock widgets, unpin the overlay widget by moving it's contents to parent container
|
||||||
|
// While restoring state, opened dock widgets are not valid
|
||||||
if (Container->openedDockWidgets().count() == 0 && DockArea->isOverlayed() && !DockManager->isRestoringState())
|
if (Container->openedDockWidgets().count() == 0 && DockArea->isOverlayed() && !DockManager->isRestoringState())
|
||||||
{
|
{
|
||||||
DockArea->overlayDockContainer()->moveContentsToParent();
|
DockArea->overlayDockContainer()->moveContentsToParent();
|
||||||
|
Loading…
Reference in New Issue
Block a user