Merge branch 'develop' of https://github.com/ZetaGlest/zetaglest-source into develop

This commit is contained in:
Jammyjamjamman
2018-03-04 19:37:39 +00:00

View File

@@ -4407,7 +4407,12 @@ namespace Glest
listBoxControls[i].setEnabled (true);
listBoxFactions[i].setEditable (true);
listBoxTeams[i].setEditable (true);
listBoxFactions[i].setSelectedItemIndex (0);
if (listBoxFactions[i].getSelectedItem () ==
formatString (GameConstants::OBSERVER_SLOTNAME))
{
listBoxFactions[i].setSelectedItemIndex (0);
}
}
else
{