Hide tab before emitting event

This commit is contained in:
Tibo Clausen 2019-11-14 13:59:03 +00:00
parent fe64f407c0
commit 2a51359159

View File

@ -525,8 +525,8 @@ void CDockAreaTabBar::closeTab(int Index)
{
return;
}
emit tabCloseRequested(Index);
Tab->hide();
emit tabCloseRequested(Index);
}