Merge pull request #68 from nairaner/bugfix/floating-window-add-dock

Update floating widget titlebar visibility after adding new tab
This commit is contained in:
githubuser0xFFFF 2019-10-01 11:54:38 +02:00 committed by GitHub
commit d2fb1579a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -917,6 +917,7 @@ CDockAreaWidget* DockContainerWidgetPrivate::dockWidgetIntoDockArea(DockWidgetAr
if (CenterDockWidgetArea == area) if (CenterDockWidgetArea == area)
{ {
TargetDockArea->addDockWidget(Dockwidget); TargetDockArea->addDockWidget(Dockwidget);
TargetDockArea->updateTitleBarVisibility();
return TargetDockArea; return TargetDockArea;
} }