Fixed bug in DockContainerWidgetPrivate::moveIntoCenterOfSection

If a dock widget has been dropped into the center of a dock area via non-opaque docking the dropped widget did not become the active tab - this has been fixed
This commit is contained in:
Uwe Kindler 2019-12-17 13:45:33 +01:00
parent c530a4a4ec
commit 861ce67725

View File

@ -579,7 +579,7 @@ void DockContainerWidgetPrivate::moveIntoCenterOfSection(QWidget* Widget, CDockA
{
OldDockArea->removeDockWidget(DroppedDockWidget);
}
TargetArea->insertDockWidget(0, DroppedDockWidget, false);
TargetArea->insertDockWidget(0, DroppedDockWidget, true);
}
else
{