Deskbar: Fix window updating bug #11865
We must toggle the expanded state of new windows if we are in VERTICAL expando mode with Expand New Teams on. The vertical part of the check got dropped accidentally in hrev48817 Thanks jstressman for reporting. Fixes #11865
This commit is contained in:
@@ -659,7 +659,7 @@ TExpandoMenuBar::AddTeam(BList* team, BBitmap* icon, char* name,
|
||||
} else
|
||||
AddItem(item);
|
||||
|
||||
if (settings->superExpando && settings->expandNewTeams)
|
||||
if (fVertical && settings->superExpando && settings->expandNewTeams)
|
||||
item->ToggleExpandState(false);
|
||||
|
||||
SizeWindow(1);
|
||||
|
||||
Reference in New Issue
Block a user