summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fios_gui.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/fios_gui.cpp b/src/fios_gui.cpp
index 13c2a3532..8d1fb1b80 100644
--- a/src/fios_gui.cpp
+++ b/src/fios_gui.cpp
@@ -211,6 +211,9 @@ void BuildFileList()
default: FiosGetSavegameList(_saveload_mode); break;
}
+
+ /* Invalidate saveload window */
+ InvalidateWindowData(WC_SAVELOAD, 0, 2, true);
}
static void MakeSortedSaveGameList()
@@ -684,6 +687,12 @@ public:
!_load_check_data.HasNewGrfs());
}
break;
+ case 2:
+ /* _fios_items changed */
+ this->vscroll->SetCount(_fios_items.Length());
+ this->selected = NULL;
+ _load_check_data.Clear();
+ break;
}
}
};