small change to config syntax

This commit is contained in:
bkkcoins 2012-09-21 15:06:21 +07:00
parent fccd9921eb
commit 38acaf0a3a
1 changed files with 1 additions and 1 deletions

View File

@ -1298,7 +1298,7 @@ class ElectrumWindow(QMainWindow):
QMessageBox.warning(self, _('Error'), _('Invalid value'), _('OK'))
cfg = SimpleConfig()
cfg.config["gui"] = str(gui.currentText()).lower()
cfg.set_key("gui", str(gui.currentText()).lower())
cfg.save_config()
self.set_expert_mode(cb.isChecked())