diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2011-12-13 05:08:17 +0800 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2012-01-07 03:00:43 +0800 |
commit | 734cf89900cde0526043429c3028cb69616f7cb8 (patch) | |
tree | 9bdedb341b5dde0971cec8fbc8d10125ae50735f /src/gui/npcdialog.h | |
parent | 845d9acbfcd41728c6c6a747b19db40374854147 (diff) | |
download | mana-734cf89900cde0526043429c3028cb69616f7cb8.tar.gz mana-734cf89900cde0526043429c3028cb69616f7cb8.tar.bz2 mana-734cf89900cde0526043429c3028cb69616f7cb8.tar.xz mana-734cf89900cde0526043429c3028cb69616f7cb8.zip |
Made the first choice item be selected at the beginning
Resolves Mana-Mantis: #432.
Reviewed-by: Bertram, Ablu.
Diffstat (limited to 'src/gui/npcdialog.h')
-rw-r--r-- | src/gui/npcdialog.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/npcdialog.h b/src/gui/npcdialog.h index 86a0e70c..abea5753 100644 --- a/src/gui/npcdialog.h +++ b/src/gui/npcdialog.h @@ -116,6 +116,11 @@ class NpcDialog : public Window, void addChoice(const std::string &); /** + * Put focus on the first choice. + */ + void initChoiceSelection(); + + /** * Requests a text string from the user. */ void textRequest(const std::string &defaultText = ""); |