summaryrefslogtreecommitdiff
path: root/src/train_gui.cpp
diff options
context:
space:
mode:
authormaedhros <maedhros@openttd.org>2007-06-25 17:29:03 +0000
committermaedhros <maedhros@openttd.org>2007-06-25 17:29:03 +0000
commit6b642ced3399c9491d84c3d9c3280068ecbb56ef (patch)
tree84320b6c5657e9d93c16d789c54318245af90331 /src/train_gui.cpp
parente7cd217f1dbfda17d8ae9d20627aec9a51113a7b (diff)
downloadopenttd-6b642ced3399c9491d84c3d9c3280068ecbb56ef.tar.xz
(svn r10328) -Codechange: Close the timetable window when closing the vehicle window.
Diffstat (limited to 'src/train_gui.cpp')
-rw-r--r--src/train_gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/train_gui.cpp b/src/train_gui.cpp
index 4d6c81bad..161a997b7 100644
--- a/src/train_gui.cpp
+++ b/src/train_gui.cpp
@@ -282,6 +282,7 @@ static void TrainViewWndProc(Window *w, WindowEvent *e)
DeleteWindowById(WC_VEHICLE_REFIT, w->window_number);
DeleteWindowById(WC_VEHICLE_ORDERS, w->window_number);
DeleteWindowById(WC_VEHICLE_DETAILS, w->window_number);
+ DeleteWindowById(WC_VEHICLE_TIMETABLE, w->window_number);
break;
case WE_MOUSELOOP: {