Merge pull request #80 from simulton/master

Hide tab before emitting event
This commit is contained in:
githubuser0xFFFF 2019-11-18 20:16:42 +01:00 committed by GitHub
commit ae997d3d75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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