diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-10-04 15:25:00 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-10-04 15:25:00 -0400 |
commit | 3e9247ad089f8fe0349ea15adaec4d7751a9d6e2 (patch) | |
tree | 12a5f4ab976fbd96b198351a2a00fca031b5d20f /settings.hpp | |
parent | 43f87b4bcaa6d160cf7c4856109af06ea4873cf3 (diff) | |
download | abaddon-portaudio-3e9247ad089f8fe0349ea15adaec4d7751a9d6e2.tar.gz abaddon-portaudio-3e9247ad089f8fe0349ea15adaec4d7751a9d6e2.zip |
save ini every time a setting is set
Diffstat (limited to 'settings.hpp')
-rw-r--r-- | settings.hpp | 2 |
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; |