(svn r24743) -Change: Unify the behaviour of ESC in filter editboxes.

This commit is contained in:
frosch
2012-11-14 22:50:39 +00:00
parent f5d8ba5d7f
commit c283a41248
6 changed files with 30 additions and 3 deletions

View File

@@ -159,7 +159,7 @@ struct SignListWindow : Window, SignList {
/* Initialize the text edit widget */
this->querystrings[WID_SIL_FILTER_TEXT] = &this->filter_editbox;
this->filter_editbox.ok_button = WID_SIL_FILTER_ENTER_BTN;
this->filter_editbox.cancel_button = WID_SIL_FILTER_CLEAR_BTN;
this->filter_editbox.cancel_button = QueryString::ACTION_CLEAR;
this->filter_editbox.afilter = CS_ALPHANUMERAL;
/* Initialize the filtering variables */