Just save the current config every time the config file is switched

also undo #7473 because it would now introduce redundant writes.
This commit is contained in:
Peter Tissen committed 2015-02-14 19:21:26 +01:00
1 parent ad345f9746
commit ba96b7b31c
6 files changed
+2 -5

No files matched your search

+1
View File
@@ -1104,6 +1104,7 @@ bool Config::hasGameConfig(const std::string &pGameId)
void Config::changeGameSpecific(const std::string &pGameId)
{
Save();
gameId_ = pGameId;
bGameSpecific = !pGameId.empty();
}