Make sure that you remove the separator item before adding the team menu in mini mode or it won't work all the time

This commit is contained in:
John Scipione
2012-11-12 22:03:23 -05:00
parent d6f6b835ad
commit dec421b1db
+1 -1
View File
@@ -389,8 +389,8 @@ TBarView::PlaceDeskbarMenu()
loc = Bounds().LeftTop();
} else {
// mini mode, DeskbarMenu next to team menu
fBarMenuBar->AddTeamMenu();
fBarMenuBar->RemoveSeperatorItem();
fBarMenuBar->AddTeamMenu();
}
fBarMenuBar->SmartResize(width, menuFrame.Height());