Also disable Ctrl hotkey for road stations

This commit is contained in:
pelya
2016-04-16 22:49:53 +03:00
committed by Sergii Pylypenko
parent 4909bdbecc
commit 7252c08e50

View File

@@ -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;
}