Skip to content

Commit cb18bc0

Browse files
Fixed visibility issue when adding dock widget after all other dock widgets have ben closed in the GUI - fix for GitHub issue #148
1 parent 07464ce commit cb18bc0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/DockContainerWidget.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1034,6 +1034,10 @@ void DockContainerWidgetPrivate::addDockArea(CDockAreaWidget* NewDockArea, DockW
10341034
if (Splitter->orientation() == InsertParam.orientation())
10351035
{
10361036
insertWidgetIntoSplitter(Splitter, NewDockArea, InsertParam.append());
1037+
if (Splitter->isHidden())
1038+
{
1039+
Splitter->show();
1040+
}
10371041
}
10381042
else
10391043
{

0 commit comments

Comments
 (0)