From db52acaade3bc2186986b9c702735386288e0488 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Tue, 31 Mar 2020 17:43:39 +0100 Subject: [PATCH] Open train vehicle details window on total cargo tab if shift pressed This is instead of ctrl, as this is now used in trunk See: 793d01ec, cc1d72c3 --- src/vehicle_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index de0d0bf4a2..2d24088aed 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -2385,7 +2385,7 @@ struct VehicleDetailsWindow : Window { this->owner = v->owner; this->tab = TDW_TAB_CARGO; - if (v->type == VEH_TRAIN && _ctrl_pressed) this->tab = TDW_TAB_TOTALS; + if (v->type == VEH_TRAIN && _shift_pressed) this->tab = TDW_TAB_TOTALS; } ~VehicleDetailsWindow()