tgame_load: focus filter box instead of savegame list by default

This commit is contained in:
Charles Dang 2015-12-04 18:59:50 +11:00
parent e1a5700213
commit e77c68b031

View File

@ -117,10 +117,10 @@ void tgame_load::pre_show(CVideo& /*video*/, twindow& window)
window.keyboard_capture(filter);
filter->set_text_changed_callback(
boost::bind(&tgame_load::filter_text_changed, this, _1, _2));
window.keyboard_capture(filter);
tlistbox* list
= find_widget<tlistbox>(&window, "savegame_list", false, true);
window.keyboard_capture(list);
#ifdef GUI2_EXPERIMENTAL_LISTBOX
connect_signal_notify_modified(*list,