Added a set_key setter method that can also write out the changes to file
[electrum-nvc.git] / electrum
index d9e1347..a414d94 100755 (executable)
--- a/electrum
+++ b/electrum
@@ -168,8 +168,7 @@ if __name__ == '__main__':
               error_message.setFixedSize(350,200)
               error_message.showMessage("<p>Sorry, the Electrum 'Lite GUI' requires Qt >= 4.7 to run. The pro GUI will be started instead.</p><p>Check your distributions packages for upgrades.</p>")
 
-              simple_config.config["gui"] = "qt"
-              simple_config.save_config()
+              simple_config.set_key("gui", "qt")
 
               app.exec_()