diff --git a/src/DockWidget.cpp b/src/DockWidget.cpp index 5e9e2e5..f6e4029 100644 --- a/src/DockWidget.cpp +++ b/src/DockWidget.cpp @@ -181,7 +181,7 @@ void DockWidgetPrivate::showDockWidget() DockArea->toggleView(true); TabWidget->show(); QSplitter* Splitter = internal::findParent(DockArea); - while (Splitter && !Splitter->isVisible()) + while (Splitter && !Splitter->isVisible() && !DockArea->isOverlayed()) { Splitter->show(); Splitter = internal::findParent(Splitter);