diff options
author | smatz <smatz@openttd.org> | 2008-09-24 16:40:06 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-09-24 16:40:06 +0000 |
commit | 6987e6015af482de4bfa2a9233a6377d2fb1457a (patch) | |
tree | 4bdc7914fbb86480437af0957e290777e16788c6 /src/vehicle_gui.h | |
parent | 7a527807d908cfd667c8d32f89435f33f2d231a6 (diff) | |
download | openttd-6987e6015af482de4bfa2a9233a6377d2fb1457a.tar.xz |
(svn r14395) -Fix [FS#2285]: crashes and GUI desyncs when order is deleted/modified while the timetable window is open
-Fix: close any dropdown and child windows in the Order and Timetable windows when selected order is deselected, deleted, ...
Diffstat (limited to 'src/vehicle_gui.h')
-rw-r--r-- | src/vehicle_gui.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle_gui.h b/src/vehicle_gui.h index 66df9ebfe..dc740975c 100644 --- a/src/vehicle_gui.h +++ b/src/vehicle_gui.h @@ -13,7 +13,7 @@ #include "waypoint.h" void DrawVehicleProfitButton(const Vehicle *v, int x, int y); -void ShowVehicleRefitWindow(const Vehicle *v, VehicleOrderID order); +void ShowVehicleRefitWindow(const Vehicle *v, VehicleOrderID order, Window *parent); /** Constants of vehicle view widget indices */ enum VehicleViewWindowWidgets { |