1
0

disable setting widgets when setting is not modifiable.

This commit is contained in:
thomasv
2012-10-12 17:40:37 +02:00
parent ef2f832116
commit 65b13b88f4
3 changed files with 25 additions and 13 deletions

View File

@@ -61,8 +61,8 @@ class SimpleConfig:
if save: self.save_user_config()
elif self.system_config.get(key):
self.system_config[key] = value
print "Warning: cannot save '%s' because it is set in the system configuration file"%key
if str(self.system_config[key]) != str(value):
print "Warning: not changing '%s' because it was set in the system configuration"%key
elif self.wallet_config.get(key):
self.wallet_config[key] = value