MP Create: make sure there's always an initial era/mod index set
This commit is contained in:
parent
5142613ed9
commit
b2f78104e6
1 changed files with 4 additions and 0 deletions
|
@ -166,6 +166,8 @@ void tmp_create_game::pre_show(twindow& window)
|
|||
eras_combobox.set_values(era_names);
|
||||
eras_combobox.connect_click_handler(std::bind(&tmp_create_game::on_era_select, this, std::ref(window)));
|
||||
|
||||
on_era_select(window);
|
||||
|
||||
//
|
||||
// Set up mods list
|
||||
//
|
||||
|
@ -198,6 +200,8 @@ void tmp_create_game::pre_show(twindow& window)
|
|||
dialog_callback<tmp_create_game, &tmp_create_game::on_mod_select>);
|
||||
#endif
|
||||
|
||||
on_mod_select(window);
|
||||
|
||||
//
|
||||
// Set up tab control
|
||||
//
|
||||
|
|
Loading…
Add table
Reference in a new issue