Skip to content

Commit 2a51359

Browse files
committed
Hide tab before emitting event
1 parent fe64f40 commit 2a51359

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DockAreaTabBar.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,8 +525,8 @@ void CDockAreaTabBar::closeTab(int Index)
525525
{
526526
return;
527527
}
528-
emit tabCloseRequested(Index);
529528
Tab->hide();
529+
emit tabCloseRequested(Index);
530530
}
531531

532532

0 commit comments

Comments
 (0)