Skip to content

Commit e2c9602

Browse files
authored
Fixed Undock Button getting hidden after undocking and docking again a floating widget that contains only one single visble dock area (#816)
1 parent 62bc6fc commit e2c9602

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/DockContainerWidget.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -907,6 +907,7 @@ void DockContainerWidgetPrivate::addDockAreasToList(const QList<CDockAreaWidget*
907907
{
908908
DockArea->titleBarButton(TitleBarButtonClose)->setVisible(true);
909909
DockArea->titleBarButton(TitleBarButtonAutoHide)->setVisible(true);
910+
DockArea->titleBarButton(TitleBarButtonUndock)->setVisible(true);
910911
}
911912

912913
// We need to ensure, that the dock area title bar is visible. The title bar

0 commit comments

Comments
 (0)