Fix bug where dragging an overlayed widget would cause it to be empty
Fix bug where pin and unpin doesn't work
This commit is contained in:
@@ -189,7 +189,7 @@ void DockFocusControllerPrivate::updateDockWidgetFocus(CDockWidget* DockWidget)
|
||||
}
|
||||
#endif
|
||||
|
||||
if (old && old->overlayDockContainer() && old != DockWidget)
|
||||
if (old && old->overlayDockContainer() && old->overlayDockContainer()->isVisible() && old != FocusedDockWidget)
|
||||
{
|
||||
old->toggleView(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user