summaryrefslogtreecommitdiff
path: root/src/signs_gui.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-11-14 22:50:39 +0000
committerfrosch <frosch@openttd.org>2012-11-14 22:50:39 +0000
commitc283a412485700ab8e81a374f080c1ef94fbf64d (patch)
tree4673dc71eac8f915dcbc6b846213157096260357 /src/signs_gui.cpp
parentf5d8ba5d7f90abc72db6c0470da383ecf82da487 (diff)
downloadopenttd-c283a412485700ab8e81a374f080c1ef94fbf64d.tar.xz
(svn r24743) -Change: Unify the behaviour of ESC in filter editboxes.
Diffstat (limited to 'src/signs_gui.cpp')
-rw-r--r--src/signs_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/signs_gui.cpp b/src/signs_gui.cpp
index c3b1d490e..d982fe5ec 100644
--- a/src/signs_gui.cpp
+++ b/src/signs_gui.cpp
@@ -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 */