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 541db8e commit 6b3b775Copy full SHA for 6b3b775
src/DockWidget.cpp
@@ -271,7 +271,10 @@ void DockWidgetPrivate::closeAutoHideDockWidgetsIfNeeded()
271
return;
272
}
273
274
- if (!DockContainer->openedDockWidgets().isEmpty())
+ // If the dock container is the dock manager, or if it is not empty, then we
275
+ // don't need to do anything
276
+ if ((DockContainer == _this->dockManager())
277
+ || !DockContainer->openedDockWidgets().isEmpty())
278
{
279
280
0 commit comments