summaryrefslogtreecommitdiff
path: root/src/newgrf_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-28 19:43:41 +0000
committerrubidium <rubidium@openttd.org>2010-08-28 19:43:41 +0000
commit7b16c7650bb5df437f7ba98acb1fdd917f4b8177 (patch)
treefadde11668192305b36cac77de20302729b8c827 /src/newgrf_gui.cpp
parent2d10b0f11d0300eebabccb48399f35c9acb55be0 (diff)
downloadopenttd-7b16c7650bb5df437f7ba98acb1fdd917f4b8177.tar.xz
(svn r20670) -Add: support for action F
-Add: a window to select (NewGRF) objects
Diffstat (limited to 'src/newgrf_gui.cpp')
-rw-r--r--src/newgrf_gui.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp
index bc20c61a4..c659ac8fd 100644
--- a/src/newgrf_gui.cpp
+++ b/src/newgrf_gui.cpp
@@ -1530,6 +1530,9 @@ static void NewGRFConfirmationCallback(Window *w, bool confirmed)
nw->avails.ForceRebuild();
w->InvalidateData();
+
+ ReInitAllWindows();
+ DeleteWindowByClass(WC_BUILD_OBJECT);
}
}