diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/vehicle_gui.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index 28e9b5828..809f62d4f 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -723,6 +723,12 @@ void ChangeVehicleViewWindow(const Vehicle *from_v, const Vehicle *to_v) w->window_number = to_v->index; SetWindowDirty(w); } + + w = FindWindowById(WC_VEHICLE_TIMETABLE, from_v->index); + if (w != NULL) { + w->window_number = to_v->index; + SetWindowDirty(w); + } } } |