Fixed visibility issue when adding dock widget after all other dock widgets have ben closed in the GUI - fix for GitHub issue #148

This commit is contained in:
Uwe Kindler 2020-05-07 16:13:59 +02:00
parent 07464ce05c
commit cb18bc0d91

View File

@ -1034,6 +1034,10 @@ void DockContainerWidgetPrivate::addDockArea(CDockAreaWidget* NewDockArea, DockW
if (Splitter->orientation() == InsertParam.orientation())
{
insertWidgetIntoSplitter(Splitter, NewDockArea, InsertParam.append());
if (Splitter->isHidden())
{
Splitter->show();
}
}
else
{