mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2025-01-24 05:22:06 +08:00
Fixed a bug in FloatingDragPreview that prevents dock widget from floating when dragging over another dock widget
This commit is contained in:
parent
3adabaec81
commit
0c9a1ee3f2
@ -349,6 +349,10 @@ void CFloatingDragPreview::finishDragging()
|
|||||||
d->DropContainer->dropWidget(d->Content, ContainerDropArea, nullptr);
|
d->DropContainer->dropWidget(d->Content, ContainerDropArea, nullptr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
d->createFloatingWidget();
|
||||||
|
}
|
||||||
|
|
||||||
this->close();
|
this->close();
|
||||||
d->DockManager->containerOverlay()->hideOverlay();
|
d->DockManager->containerOverlay()->hideOverlay();
|
||||||
|
Loading…
Reference in New Issue
Block a user