src/vehicle_gui.cpp
changeset 9134 618bee700fe7
parent 9110 55864e1fc263
child 9157 b1c6c3ace486
equal deleted inserted replaced
9133:c03c98d05be4 9134:618bee700fe7
   721 		w = FindWindowById(WC_VEHICLE_DETAILS, from_v->index);
   721 		w = FindWindowById(WC_VEHICLE_DETAILS, from_v->index);
   722 		if (w != NULL) {
   722 		if (w != NULL) {
   723 			w->window_number = to_v->index;
   723 			w->window_number = to_v->index;
   724 			SetWindowDirty(w);
   724 			SetWindowDirty(w);
   725 		}
   725 		}
       
   726 
       
   727 		w = FindWindowById(WC_VEHICLE_TIMETABLE, from_v->index);
       
   728 		if (w != NULL) {
       
   729 			w->window_number = to_v->index;
       
   730 			SetWindowDirty(w);
       
   731 		}
   726 	}
   732 	}
   727 }
   733 }
   728 
   734 
   729 enum VehicleListWindowWidgets {
   735 enum VehicleListWindowWidgets {
   730 	VLW_WIDGET_CLOSEBOX = 0,
   736 	VLW_WIDGET_CLOSEBOX = 0,