(svn r20139) -Fix [FS#3902]: Found town window ignored all hotkeys (Zuu).

This commit is contained in:
terkhen 2010-07-14 11:43:46 +00:00
parent a690872333
commit bec213d60b

View File

@ -1188,7 +1188,7 @@ public:
virtual EventState OnKeyPress(uint16 key, uint16 keycode)
{
EventState state;
EventState state = ES_NOT_HANDLED;
if (this->HandleEditBoxKey(TSEW_TOWNNAME_EDITBOX, key, keycode, state) == HEBR_CANCEL) {
this->UnfocusFocusedWidget();
}