mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-26 08:01:32 +08:00
fix bug where "right click -> detach group" would of an overlay dock would not remove the dockwidget side tab
This commit is contained in:
parent
54c7c7e2a5
commit
fafa52a1ba
@ -412,6 +412,11 @@ void CDockAreaTitleBar::onUndockButtonClicked()
|
|||||||
{
|
{
|
||||||
if (d->DockArea->features().testFlag(CDockWidget::DockWidgetFloatable))
|
if (d->DockArea->features().testFlag(CDockWidget::DockWidgetFloatable))
|
||||||
{
|
{
|
||||||
|
if (d->DockArea->autoHideDockContainer())
|
||||||
|
{
|
||||||
|
d->DockArea->autoHideDockContainer()->cleanupAndDelete();
|
||||||
|
}
|
||||||
|
|
||||||
d->makeAreaFloating(mapFromGlobal(QCursor::pos()), DraggingInactive);
|
d->makeAreaFloating(mapFromGlobal(QCursor::pos()), DraggingInactive);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user