fix side tab not hiding when double clicking dock title bar

This commit is contained in:
Syarif Fakhri 2022-10-13 14:37:39 +08:00
parent 8610a64b51
commit 84ca7b18a0

View File

@ -632,6 +632,11 @@ void CDockAreaTitleBar::mouseDoubleClickEvent(QMouseEvent *event)
{
return;
}
if (d->DockArea->autoHideDockContainer())
{
d->DockArea->autoHideDockContainer()->cleanupAndDelete();
}
d->makeAreaFloating(event->pos(), DraggingInactive);
}