diff options
author | smatz <smatz@openttd.org> | 2008-08-16 18:01:23 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-08-16 18:01:23 +0000 |
commit | 0b2c6bc2b3ccb19f3290bae8491eb79ca1ef6627 (patch) | |
tree | 01a6384ab20bbfc62c04d6b0a157cbdaa56a8146 /src | |
parent | fc8997bcc376cd70d84b29de4e2927d2a6d924c0 (diff) | |
download | openttd-0b2c6bc2b3ccb19f3290bae8491eb79ca1ef6627.tar.xz |
(svn r14086) -Fix (r13067): rail/road removing by CTRL didn't sometimes work when a depot window was opened
Diffstat (limited to 'src')
-rw-r--r-- | src/depot_gui.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/depot_gui.cpp b/src/depot_gui.cpp index 7d95f6844..54e9519a3 100644 --- a/src/depot_gui.cpp +++ b/src/depot_gui.cpp @@ -1019,9 +1019,10 @@ struct DepotWindow : Window { if (this->sel != INVALID_VEHICLE) { _cursor.vehchain = _ctrl_pressed; this->InvalidateWidget(DEPOT_WIDGET_MATRIX); + return ES_HANDLED; } - return ES_HANDLED; + return ES_NOT_HANDLED; } }; |