summaryrefslogtreecommitdiffstats
path: root/src/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.h b/src/config.h
index 8874cff..02a3389 100644
--- a/src/config.h
+++ b/src/config.h
@@ -290,7 +290,7 @@ class ConfigBool : public ConfigOption
t << endl;
}
t << m_name << m_spaces.left(MAX_OPTION_LENGTH-m_name.length()) << "= ";
- if (upd)
+ if (upd && !m_valueString.isEmpty())
{
writeStringValue(t,m_valueString);
}