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 | 25a1c59abb7117df6d4b0de6c41fbc388b3c5f73 (patch) | |
tree | 01a6384ab20bbfc62c04d6b0a157cbdaa56a8146 | |
parent | 9751fbe4dc90335da710e9814eb366a855daba5f (diff) | |
download | openttd-25a1c59abb7117df6d4b0de6c41fbc388b3c5f73.tar.xz |
(svn r14086) -Fix (r13067): rail/road removing by CTRL didn't sometimes work when a depot window was opened
-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; } }; |