Changed: Create a backup if version of default config is incremented, see #279
This commit is contained in:
parent
c74c8984b9
commit
16d6357cb6
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