(svn r7363) -Fix (r7357): Update count of NewGRFs when adding an file

This commit is contained in:
peter1138 2006-12-04 20:27:53 +00:00
parent 0e465359c5
commit a18e772528

View File

@ -299,6 +299,10 @@ static void NewGRFWndProc(Window *w, WindowEvent *e)
break; break;
} }
case WE_INVALIDATE_DATA:
SetupNewGRFWindow(w);
break;
case WE_CLICK: case WE_CLICK:
switch (e->we.click.widget) { switch (e->we.click.widget) {
case 3: { /* Add GRF */ case 3: { /* Add GRF */