Fixed Undock Button getting hidden after undocking and docking again a floating widget that contains only one single visble dock area (#816)

This commit is contained in:
Alessandro de Jesus
2026-03-08 03:11:09 -04:00
committed by GitHub
parent 62bc6fced7
commit e2c960238d

View File

@@ -907,6 +907,7 @@ void DockContainerWidgetPrivate::addDockAreasToList(const QList<CDockAreaWidget*
{
DockArea->titleBarButton(TitleBarButtonClose)->setVisible(true);
DockArea->titleBarButton(TitleBarButtonAutoHide)->setVisible(true);
DockArea->titleBarButton(TitleBarButtonUndock)->setVisible(true);
}
// We need to ensure, that the dock area title bar is visible. The title bar