fix: do not change the server if the user cancelled the action
This commit is contained in:
parent
e606ed0aa3
commit
c6c04f80fe
|
@ -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":
|
||||
|
||||
|
|
Loading…
Reference in New Issue