Save after changing recent list

regarding #7472 . If this is not done then the config file (the main config,
the per-game config files do not have recent entries) is loaded when a game
with game-specific settings is touched.
This commit is contained in:
Peter Tissen committed 2015-02-13 10:27:11 +01:00
1 parent 6f0ea8fcf4
commit aa6985f5c2
3 files changed
+3

No files matched your search

+1
View File
@@ -59,6 +59,7 @@ bool GameInfo::DeleteGame() {
auto i = std::find(g_Config.recentIsos.begin(), g_Config.recentIsos.end(), fileToRemove);
if (i != g_Config.recentIsos.end()) {
g_Config.recentIsos.erase(i);
g_Config.Save();
}
return true;
}