diff options
author | tron <tron@openttd.org> | 2004-11-06 09:24:28 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2004-11-06 09:24:28 +0000 |
commit | 0a422b06a57cc630a2185461998ea0b00a6fcb18 (patch) | |
tree | 8e530256fcbd1243473f6ea7467b9a5c40c54ee7 | |
parent | d641175e3cd1fe5c01c914dde20cbe7388dbeb27 (diff) | |
download | openttd-0a422b06a57cc630a2185461998ea0b00a6fcb18.tar.xz |
(svn r514) -Fix: [1053397] Refit Train Window Stays Open
-rw-r--r-- | train_gui.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/train_gui.c b/train_gui.c index f960ba91d..03b386a40 100644 --- a/train_gui.c +++ b/train_gui.c @@ -820,6 +820,7 @@ static void TrainViewWndProc(Window *w, WindowEvent *e) } break; case WE_DESTROY: + DeleteWindowById(WC_VEHICLE_REFIT, w->window_number); DeleteWindowById(WC_VEHICLE_ORDERS, w->window_number); DeleteWindowById(WC_VEHICLE_DETAILS, w->window_number); break; |