diff options
author | ngosang <diegodelasheras@gmail.com> | 2015-01-27 01:17:04 +0100 |
---|---|---|
committer | Craig Robbins <kde.psych@gmail.com> | 2015-02-10 21:23:16 +1000 |
commit | dd2bb950be36c3ae34caacfe62df391612364f8a (patch) | |
tree | e4a299e746c2fadae7a84bbd1a462b83be66519c /src/game.cpp | |
parent | a704c04f00bfea4b77550169fa08105c2ee0dfd0 (diff) | |
download | minetest-dd2bb950be36c3ae34caacfe62df391612364f8a.tar.gz minetest-dd2bb950be36c3ae34caacfe62df391612364f8a.tar.bz2 minetest-dd2bb950be36c3ae34caacfe62df391612364f8a.zip |
Fix Exit to OS button focus in Pause Menu
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index fe3e838b2..ba28aa789 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -1157,7 +1157,7 @@ static void show_pause_menu(GUIFormSpecMenu **cur_formspec, LocalFormspecHandler *txt_dst = new LocalFormspecHandler("MT_PAUSE_MENU"); create_formspec_menu(cur_formspec, invmgr, gamedef, tsrc, device, fs_src, txt_dst, NULL); - + (*cur_formspec)->setFocus(L"btn_continue"); (*cur_formspec)->doPause = true; } |