widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #00307
[Merge] lp:~hjd/widelands/savegame-focus-bug-565406 into lp:widelands
Hans Joachim Desserud has proposed merging lp:~hjd/widelands/savegame-focus-bug-565406 into lp:widelands.
Requested reviews:
Widelands Developers (widelands-dev)
Related bugs:
Bug #565406 in widelands: "place cursor inside filename field after CTRL+S"
https://bugs.launchpad.net/widelands/+bug/565406
For more details, see:
https://code.launchpad.net/~hjd/widelands/savegame-focus-bug-565406/+merge/64159
Gives focus to the textfield when the savegame dialog is created.
--
https://code.launchpad.net/~hjd/widelands/savegame-focus-bug-565406/+merge/64159
Your team Widelands Developers is requested to review the proposed merge of lp:~hjd/widelands/savegame-focus-bug-565406 into lp:widelands.
=== modified file 'src/wui/game_main_menu_save_game.cc'
--- src/wui/game_main_menu_save_game.cc 2010-09-25 21:22:19 +0000
+++ src/wui/game_main_menu_save_game.cc 2011-06-10 11:39:39 +0000
@@ -85,6 +85,8 @@
center_to_parent();
move_to_top();
+
+ m_editbox.focus();
}