Refresh trace restrict slots window as with the train list window
This commit is contained in:
@@ -1420,6 +1420,7 @@ void VehicleEnterDepot(Vehicle *v)
|
||||
case VEH_TRAIN: {
|
||||
Train *t = Train::From(v);
|
||||
SetWindowClassesDirty(WC_TRAINS_LIST);
|
||||
SetWindowClassesDirty(WC_TRACE_RESTRICT_SLOTS);
|
||||
/* Clear path reservation */
|
||||
SetDepotReservation(t->tile, false);
|
||||
if (_settings_client.gui.show_track_reservation) MarkTileDirtyByTile(t->tile);
|
||||
@@ -2722,6 +2723,7 @@ void VehiclesYearlyLoop()
|
||||
}
|
||||
GroupStatistics::UpdateProfits();
|
||||
SetWindowClassesDirty(WC_TRAINS_LIST);
|
||||
SetWindowClassesDirty(WC_TRACE_RESTRICT_SLOTS);
|
||||
SetWindowClassesDirty(WC_SHIPS_LIST);
|
||||
SetWindowClassesDirty(WC_ROADVEH_LIST);
|
||||
SetWindowClassesDirty(WC_AIRCRAFT_LIST);
|
||||
|
Reference in New Issue
Block a user