Fix toggle view through the actions menu not working correctly

This commit is contained in:
Syarif Fakhri 2022-09-07 12:13:46 +08:00
parent 4a77580b07
commit 9735f41b1a

View File

@ -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)