From 32f9b4664bd3cc1889d5594145e4447b78e6087c Mon Sep 17 00:00:00 2001 From: Syarif Fakhri Date: Mon, 19 Sep 2022 18:11:47 +0800 Subject: [PATCH] Fix weird behavior when widget is overlayed --- src/DockWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);