(svn r24733) -Codechange: Move handling of editbox keys to window class.
This commit is contained in:
@@ -510,13 +510,15 @@ struct NetworkChatWindow : public QueryStringBaseWindow {
|
||||
if (keycode == WKC_TAB) {
|
||||
ChatTabCompletion();
|
||||
state = ES_HANDLED;
|
||||
} else {
|
||||
_chat_tab_completion_active = false;
|
||||
this->HandleEditBoxKey(WID_NC_TEXTBOX, key, keycode, state);
|
||||
}
|
||||
return state;
|
||||
}
|
||||
|
||||
virtual void OnOSKInput(int wid)
|
||||
{
|
||||
_chat_tab_completion_active = false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Some data on this window has become invalid.
|
||||
* @param data Information about the changed data.
|
||||
|
Reference in New Issue
Block a user