summaryrefslogtreecommitdiff
path: root/src/profile.cpp
diff options
context:
space:
mode:
authorBrian Munro <brian.alexander.munro@gmail.com>2018-05-08 12:47:54 +0200
committerGitHub <noreply@github.com>2018-05-08 12:47:54 +0200
commit0da6af17b2d6a6965849aa0effd5a1a876f447c4 (patch)
tree306056296c7a35504e85825ec6965b5193c74b24 /src/profile.cpp
parentbc75009169ecbf378fa90891dc8183a8cb3ef499 (diff)
parent44111d12c181ff062d7936480fdc380e33232e0e (diff)
Merge pull request #336 from Modorganizer2/Develop
Release 2.1.3
Diffstat (limited to 'src/profile.cpp')
-rw-r--r--src/profile.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/profile.cpp b/src/profile.cpp
index bbb5b814..7f10bd02 100644
--- a/src/profile.cpp
+++ b/src/profile.cpp
@@ -753,6 +753,7 @@ bool Profile::enableLocalSettings(bool enable)
QString backupFile = getIniFileName() + "_";
if (enable) {
if (m_Directory.exists(backupFile)) {
+
shellRename(backupFile, getIniFileName());
} else {
IPluginGame *game = qApp->property("managed_game").value<IPluginGame *>();