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
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user