Open train vehicle details window on total cargo tab if ctrl presed

This commit is contained in:
Jonathan G Rennison 2019-04-15 19:12:37 +01:00
parent b81967f42a
commit 793d01ec74

View File

@ -2369,6 +2369,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;
}
~VehicleDetailsWindow()