forked from mirror/OpenTTD
(svn r514) -Fix: [1053397] Refit Train Window Stays Open
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user