(svn r24728) -Codechange: Unify usage of OnOSKInput.

This commit is contained in:
frosch
2012-11-13 21:46:40 +00:00
parent 1071d51508
commit 336fcbc50e
3 changed files with 15 additions and 13 deletions

View File

@@ -298,7 +298,7 @@ struct SignListWindow : QueryStringBaseWindow, SignList {
EventState state = ES_NOT_HANDLED;
switch (this->HandleEditBoxKey(WID_SIL_FILTER_TEXT, key, keycode, state)) {
case HEBR_EDITING:
this->SetFilterString(this->text.buf);
this->OnOSKInput(WID_SIL_FILTER_TEXT);
break;
case HEBR_CONFIRM: // Enter pressed -> goto first sign in list
@@ -325,8 +325,6 @@ struct SignListWindow : QueryStringBaseWindow, SignList {
NOT_REACHED();
}
if (state == ES_HANDLED) OnOSKInput(WID_SIL_FILTER_TEXT);
return state;
}