mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2025-01-13 08:40:26 +08:00
Fix toggle view through the actions menu not working correctly
This commit is contained in:
parent
4a77580b07
commit
9735f41b1a
@ -191,7 +191,7 @@ void DockFocusControllerPrivate::updateDockWidgetFocus(CDockWidget* DockWidget)
|
|||||||
|
|
||||||
if (old && old->overlayDockContainer() && old != DockWidget)
|
if (old && old->overlayDockContainer() && old != DockWidget)
|
||||||
{
|
{
|
||||||
old->overlayDockContainer()->hide();
|
old->toggleView(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (old == DockWidget && !ForceFocusChangedSignal)
|
if (old == DockWidget && !ForceFocusChangedSignal)
|
||||||
|
Loading…
Reference in New Issue
Block a user