diff --git a/src/DockFocusController.cpp b/src/DockFocusController.cpp index d606d5f..180219e 100644 --- a/src/DockFocusController.cpp +++ b/src/DockFocusController.cpp @@ -191,7 +191,7 @@ void DockFocusControllerPrivate::updateDockWidgetFocus(CDockWidget* DockWidget) if (old && old->overlayDockContainer() && old != DockWidget) { - old->overlayDockContainer()->hide(); + old->toggleView(false); } if (old == DockWidget && !ForceFocusChangedSignal)