mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-07 05:35:36 +00:00
tgame_load: focus filter box instead of savegame list by default
This commit is contained in:
parent
e1a5700213
commit
e77c68b031
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user