MP Create: make sure there's always an initial era/mod index set

This commit is contained in:
Charles Dang 2016-08-18 01:27:10 +11:00
parent 5142613ed9
commit b2f78104e6

View file

@ -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
//