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/dialog.h | |
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/dialog.h')
-rw-r--r-- | gui/dialog.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/dialog.h b/gui/dialog.h index 0e06effabd..cf734a83f8 100644 --- a/gui/dialog.h +++ b/gui/dialog.h @@ -107,6 +107,8 @@ protected: Widget *findWidget(const char *name); void removeWidget(Widget *widget); + void setDefaultFocusedWidget(); + void setResult(int result) { _result = result; } int getResult() const { return _result; } }; |