summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */