From 25a1c59abb7117df6d4b0de6c41fbc388b3c5f73 Mon Sep 17 00:00:00 2001 From: smatz Date: Sat, 16 Aug 2008 18:01:23 +0000 Subject: (svn r14086) -Fix (r13067): rail/road removing by CTRL didn't sometimes work when a depot window was opened --- src/depot_gui.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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; } }; -- cgit v1.2.3-54-g00ecf