diff options
Diffstat (limited to 'src/gui/npcstringdialog.h')
-rw-r--r-- | src/gui/npcstringdialog.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/npcstringdialog.h b/src/gui/npcstringdialog.h index aa39764d..1933e0f1 100644 --- a/src/gui/npcstringdialog.h +++ b/src/gui/npcstringdialog.h @@ -23,7 +23,6 @@ #define GUI_NPCSTRINGDIALOG_H #include <guichan/actionlistener.hpp> -#include <guichan/keylistener.hpp> #include "window.h" @@ -64,6 +63,11 @@ class NpcStringDialog : public Window, public gcn::ActionListener */ bool isInputFocused(); + /** + * Requests the textfield to take focus for input. + */ + void requestFocus(); + private: gcn::TextField *mValueField; gcn::Button *okButton; |