aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components/config.py')
-rw-r--r--lib/python/Components/config.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Components/config.py b/lib/python/Components/config.py
index 82a5d6d8..51e753ca 100644
--- a/lib/python/Components/config.py
+++ b/lib/python/Components/config.py
@@ -547,7 +547,8 @@ class configElement:
def reload(self):
self.loadData()
def save(self):
- configfile.setKey(self.configPath, self.datatoFile(self.controlType,self.value))
+ if self.defaultValue != self.value:
+ configfile.setKey(self.configPath, self.datatoFile(self.controlType,self.value))
class configElement_nonSave(configElement):
def __init__(self, configPath, control, defaultValue, vals):