summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--settings.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/settings.hpp b/settings.hpp
index 7c914f4..bc020a1 100644
--- a/settings.hpp
+++ b/settings.hpp
@@ -18,6 +18,8 @@ public:
m_ini.SetValue(section.c_str(), key.c_str(), value.c_str());
else
m_ini.SetValue(section.c_str(), key.c_str(), std::to_string(value).c_str());
+
+ m_ini.SaveFile(m_filename.c_str());
}
bool IsValid() const;