summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-09-24 16:40:06 +0000
committersmatz <smatz@openttd.org>2008-09-24 16:40:06 +0000
commit6987e6015af482de4bfa2a9233a6377d2fb1457a (patch)
tree4bdc7914fbb86480437af0957e290777e16788c6 /src/window_gui.h
parent7a527807d908cfd667c8d32f89435f33f2d231a6 (diff)
downloadopenttd-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/window_gui.h')
-rw-r--r--src/window_gui.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index f0e0d81da..0a58add42 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -251,6 +251,8 @@ public:
void DrawViewport() const;
void DrawSortButtonState(int widget, SortButtonState state) const;
+ void DeleteChildWindows() const;
+
void SetDirty() const;
/*** Event handling ***/