From 9735f41b1a8661948e2eb9c1d4fee2e138a74c45 Mon Sep 17 00:00:00 2001 From: Syarif Fakhri Date: Wed, 7 Sep 2022 12:13:46 +0800 Subject: [PATCH] Fix toggle view through the actions menu not working correctly --- src/DockFocusController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)