add comment

This commit is contained in:
Syarif Fakhri 2022-09-13 17:27:13 +08:00
parent ac311d6d45
commit 0e5329fd3e

View File

@ -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
// While restoring state, opened dock widgets are not valid
if (Container->openedDockWidgets().count() == 0 && DockArea->isOverlayed() && !DockManager->isRestoringState())
{
DockArea->overlayDockContainer()->moveContentsToParent();