summaryrefslogtreecommitdiffstats
path: root/src/common/profile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/profile.cpp')
-rw-r--r--src/common/profile.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/profile.cpp b/src/common/profile.cpp
index c66725f..2c78f9f 100644
--- a/src/common/profile.cpp
+++ b/src/common/profile.cpp
@@ -104,6 +104,7 @@ bool CProfile::SetLocalProfileInt(std::string section, std::string key, int valu
try
{
m_propertyTree.put(section + "." + key, value);
+ m_profileNeedSave = true;
}
catch (std::exception & e)
{
@@ -134,6 +135,7 @@ bool CProfile::SetLocalProfileFloat(std::string section, std::string key, float
try
{
m_propertyTree.put(section + "." + key, value);
+ m_profileNeedSave = true;
}
catch (std::exception & e)
{