summaryrefslogtreecommitdiffstats
path: root/libsettings/src
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-04-08 18:21:43 +0200
committerPetr Mrázek <peterix@gmail.com>2013-04-08 18:21:43 +0200
commitae6937ab81245ed9893029ab1f7399fc53b2f0df (patch)
tree5f610a6678b0ec6765272518cbe6b8d1c501739e /libsettings/src
parent1f13f0c665001a1a79f00cdad1e63e6c9802e55f (diff)
downloadMultiMC-ae6937ab81245ed9893029ab1f7399fc53b2f0df.tar
MultiMC-ae6937ab81245ed9893029ab1f7399fc53b2f0df.tar.gz
MultiMC-ae6937ab81245ed9893029ab1f7399fc53b2f0df.tar.lz
MultiMC-ae6937ab81245ed9893029ab1f7399fc53b2f0df.tar.xz
MultiMC-ae6937ab81245ed9893029ab1f7399fc53b2f0df.zip
Focus password text box if there's an account saved by default. Save settings!
Diffstat (limited to 'libsettings/src')
-rw-r--r--libsettings/src/inisettingsobject.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsettings/src/inisettingsobject.cpp b/libsettings/src/inisettingsobject.cpp
index 8c4cc89d..17b132a3 100644
--- a/libsettings/src/inisettingsobject.cpp
+++ b/libsettings/src/inisettingsobject.cpp
@@ -36,6 +36,7 @@ void INISettingsObject::changeSetting(const Setting &setting, QVariant value)
m_ini.set(setting.configKey(), value);
else
m_ini.remove(setting.configKey());
+ m_ini.saveFile(m_filePath);
}
}