fix: do not change the server if the user cancelled the action

This commit is contained in:
ThomasV 2012-04-05 18:49:30 +02:00
parent e606ed0aa3
commit c6c04f80fe
1 changed files with 2 additions and 2 deletions

View File

@ -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":