(svn r24729) -Codechange: Unify the handling of HEBR_EDITING.

This commit is contained in:
frosch
2012-11-13 21:46:46 +00:00
parent 336fcbc50e
commit 6d1fe626f5
9 changed files with 20 additions and 49 deletions

View File

@@ -697,7 +697,7 @@ struct GenerateLandscapeWindow : public QueryStringBaseWindow {
virtual EventState OnKeyPress(uint16 key, uint16 keycode)
{
EventState state = ES_NOT_HANDLED;
if (this->HandleEditBoxKey(WID_GL_RANDOM_EDITBOX, key, keycode, state) == HEBR_EDITING) this->OnOSKInput(WID_GL_RANDOM_EDITBOX);
this->HandleEditBoxKey(WID_GL_RANDOM_EDITBOX, key, keycode, state);
return state;
}