From c6c04f80fe0a35a1b75b729ac140eea69d5588a3 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Thu, 5 Apr 2012 18:49:30 +0200 Subject: [PATCH] fix: do not change the server if the user cancelled the action --- client/electrum4a.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/electrum4a.py b/client/electrum4a.py index 87bc3cb9..9c756b61 100755 --- a/client/electrum4a.py +++ b/client/electrum4a.py @@ -693,8 +693,8 @@ def settings_loop(): host = srv.split(':')[0] if host in plist: server = protocol_dialog(host, plist[host]) - print server - droid.fullSetProperty("server","text",server) + if server: + droid.fullSetProperty("server","text",server) elif id=="buttonSave":