We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1186d2b commit 7a79ecaCopy full SHA for 7a79eca
src/DockWidget.cpp
@@ -643,14 +643,20 @@ void CDockWidget::toggleView(bool Open)
643
// If the dock widget state is different, then we really need to toggle
644
// the state. If we are in the right state, then we simply make this
645
// dock widget the current dock widget
646
+ auto AutoHideContainer = autoHideDockContainer();
647
if (d->Closed != !Open)
648
{
649
toggleViewInternal(Open);
650
}
- else if (Open && d->DockArea)
651
+ else if (Open && d->DockArea && !AutoHideContainer)
652
653
raise();
654
655
+
656
+ if (Open && AutoHideContainer)
657
+ {
658
+ AutoHideContainer->collapseView(false);
659
+ }
660
661
662
0 commit comments