When selecting faction, the leader should get visibly modified.
Do it by deselecting on option list change.
This commit is contained in:
parent
866504b122
commit
bb4b6cece4
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue