Merge branch 'startup-gui-option' into merged
This commit is contained in:
commit
43d9710cac
|
@ -1301,7 +1301,7 @@ class ElectrumWindow(QMainWindow):
|
||||||
QMessageBox.warning(self, _('Error'), _('Invalid value'), _('OK'))
|
QMessageBox.warning(self, _('Error'), _('Invalid value'), _('OK'))
|
||||||
|
|
||||||
cfg = SimpleConfig()
|
cfg = SimpleConfig()
|
||||||
cfg.config["gui"] = str(gui.currentText()).lower()
|
cfg.set_key("gui", str(gui.currentText()).lower())
|
||||||
cfg.save_config()
|
cfg.save_config()
|
||||||
|
|
||||||
self.set_expert_mode(cb.isChecked())
|
self.set_expert_mode(cb.isChecked())
|
||||||
|
|
Loading…
Reference in New Issue