From f0998612457ddc3027618e7e446ed968a14385e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Doser?= Date: Tue, 22 Jan 2013 19:00:48 +0100 Subject: [PATCH] Make sure that settings are written to config file when settings are removed. Previously, settings where only written when a value has changed, and removal of a setting value didn't count as a change. --- src/settings.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/settings.h b/src/settings.h index 6d6db220c..2b46676c6 100644 --- a/src/settings.h +++ b/src/settings.h @@ -244,7 +244,9 @@ public: updated[name] = true; } - + else //file contains a setting which is not in m_settings + value_changed=true; + return true; }