When selecting faction, the leader should get visibly modified.

Do it by deselecting on option list change.
This commit is contained in:
Guillaume Melquiond 2004-10-31 22:23:43 +00:00
parent 866504b122
commit bb4b6cece4

View file

@ -45,6 +45,7 @@ bool combo::changed()
void combo::set_items(const std::vector<std::string>& items)
{
items_ = items;
selected_ = -1;
}
void combo::set_selected(int val)