Changed: Create a backup if version of default config is incremented, see #279
This commit is contained in:
parent
7da8610a58
commit
3e4ee23200
1 changed files with 2 additions and 1 deletions
|
@ -184,7 +184,8 @@ bool CConfigFile::load(const QString &filename)
|
||||||
|
|
||||||
if (useDefaultValues)
|
if (useDefaultValues)
|
||||||
{
|
{
|
||||||
// TODO: make a backup of custom installer.ini
|
// make a backup of custom ryzom_installer.ini
|
||||||
|
QFile::copy(filename, filename + ".bak");
|
||||||
}
|
}
|
||||||
|
|
||||||
// custom choices, always keep them
|
// custom choices, always keep them
|
||||||
|
|
Loading…
Reference in a new issue