mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-26 08:01:32 +08:00
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:
parent
c530a4a4ec
commit
861ce67725
@ -579,7 +579,7 @@ void DockContainerWidgetPrivate::moveIntoCenterOfSection(QWidget* Widget, CDockA
|
|||||||
{
|
{
|
||||||
OldDockArea->removeDockWidget(DroppedDockWidget);
|
OldDockArea->removeDockWidget(DroppedDockWidget);
|
||||||
}
|
}
|
||||||
TargetArea->insertDockWidget(0, DroppedDockWidget, false);
|
TargetArea->insertDockWidget(0, DroppedDockWidget, true);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user