summaryrefslogtreecommitdiff
path: root/newgrf_gui.c
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-12-04 20:27:53 +0000
committerpeter1138 <peter1138@openttd.org>2006-12-04 20:27:53 +0000
commita39daa9e892bd2412fdac29a441ba3bc2b382ccc (patch)
treed4cd3b8df9e97c2e440540021ea94fc844f8a06e /newgrf_gui.c
parent43eb27c7a15268a1c1258fc3fedfe0b73d9f40cd (diff)
downloadopenttd-a39daa9e892bd2412fdac29a441ba3bc2b382ccc.tar.xz
(svn r7363) -Fix (r7357): Update count of NewGRFs when adding an file
Diffstat (limited to 'newgrf_gui.c')
-rw-r--r--newgrf_gui.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/newgrf_gui.c b/newgrf_gui.c
index 4d9de796c..71a273b4f 100644
--- a/newgrf_gui.c
+++ b/newgrf_gui.c
@@ -299,6 +299,10 @@ static void NewGRFWndProc(Window *w, WindowEvent *e)
break;
}
+ case WE_INVALIDATE_DATA:
+ SetupNewGRFWindow(w);
+ break;
+
case WE_CLICK:
switch (e->we.click.widget) {
case 3: { /* Add GRF */