mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-11-15 21:25:44 +08:00
Fix weird behavior when widget is overlayed
This commit is contained in:
parent
b567f6c5d2
commit
32f9b4664b
@ -181,7 +181,7 @@ void DockWidgetPrivate::showDockWidget()
|
||||
DockArea->toggleView(true);
|
||||
TabWidget->show();
|
||||
QSplitter* Splitter = internal::findParent<QSplitter*>(DockArea);
|
||||
while (Splitter && !Splitter->isVisible())
|
||||
while (Splitter && !Splitter->isVisible() && !DockArea->isOverlayed())
|
||||
{
|
||||
Splitter->show();
|
||||
Splitter = internal::findParent<QSplitter*>(Splitter);
|
||||
|
Loading…
Reference in New Issue
Block a user