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
pull/140/head
Jonathan G Rennison 4 years ago
parent 4338541be8
commit db52acaade

@ -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()

Loading…
Cancel
Save