From 7252c08e50e78ee0e0d9be68fdfdbe64e793236b Mon Sep 17 00:00:00 2001 From: pelya Date: Sat, 16 Apr 2016 22:49:53 +0300 Subject: [PATCH] Also disable Ctrl hotkey for road stations --- src/road_gui.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/road_gui.cpp b/src/road_gui.cpp index 48102ecbff..0ee5ee4d7b 100644 --- a/src/road_gui.cpp +++ b/src/road_gui.cpp @@ -282,12 +282,15 @@ static bool RoadToolbar_CtrlChanged(Window *w) if (w->IsWidgetDisabled(WID_ROT_REMOVE)) return false; /* allow ctrl to switch remove mode only for these widgets */ + // This breaks joining stations functionality on Android + /* for (uint i = WID_ROT_ROAD_X; i <= WID_ROT_AUTOROAD; i++) { if (w->IsWidgetLowered(i)) { ToggleRoadButton_Remove(w); return true; } } + */ return false; }