diff options
author | Bastien Bouclet | 2017-06-13 07:18:33 +0200 |
---|---|---|
committer | Bastien Bouclet | 2017-06-13 07:21:34 +0200 |
commit | 9bb9c0d58eea71292d05b4e5515c48ba53d1f194 (patch) | |
tree | 93c81c355bfa3c17dea858a7e0d2b223db3400a1 /gui/launcher.cpp | |
parent | 1e64ef48e090db528ed25531c69fd569677733fd (diff) | |
download | scummvm-rg350-9bb9c0d58eea71292d05b4e5515c48ba53d1f194.tar.gz scummvm-rg350-9bb9c0d58eea71292d05b4e5515c48ba53d1f194.tar.bz2 scummvm-rg350-9bb9c0d58eea71292d05b4e5515c48ba53d1f194.zip |
GUI: Focus the first 'focusable' widget when rebuilding dialogs
Fixes Trac#9838.
Diffstat (limited to 'gui/launcher.cpp')
-rw-r--r-- | gui/launcher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp index f60fecf509..3ed1236a91 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -217,7 +217,7 @@ void LauncherDialog::rebuild() { clean(); build(); reflowLayout(); - setFocusWidget(_firstWidget); + setDefaultFocusedWidget(); } void LauncherDialog::open() { |