Fix "text box send hotkeys" bug...

...(reported in bug #16578 GUI2 titlescreen change)

2010-08-29T10:48:19Z!koraq@xs4all.nl added this line but I don't see its purpose for GUI2. I
keep it but made it specific to GUI2 titlescreen, since it was not
needed by the main game before.
This commit is contained in:
Ali El Gariani 2010-09-04 16:55:15 +00:00
parent 36aff31ccc
commit 9334ca28a2

View file

@ -2289,12 +2289,12 @@ static int do_gameloop(int argc, char** argv)
gui::TITLE_RESULT res = game.is_loading() ? gui::LOAD_GAME : gui::NOTHING;
const preferences::display_manager disp_manager(&game.disp());
const hotkey::basic_handler key_handler(&game.disp());
const font::floating_label_context label_manager;
cursor::set(cursor::NORMAL);
if(res == gui::NOTHING) {
const hotkey::basic_handler key_handler(&game.disp());
gui2::ttitle_screen dlg;
dlg.show(game.disp().video());