From a39daa9e892bd2412fdac29a441ba3bc2b382ccc Mon Sep 17 00:00:00 2001 From: peter1138 Date: Mon, 4 Dec 2006 20:27:53 +0000 Subject: [PATCH] (svn r7363) -Fix (r7357): Update count of NewGRFs when adding an file --- newgrf_gui.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/newgrf_gui.c b/newgrf_gui.c index 4d9de796cc..71a273b4f6 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 */