password
authorThomasV <thomasv@gitorious>
Thu, 5 Apr 2012 19:38:25 +0000 (21:38 +0200)
committerThomasV <thomasv@gitorious>
Thu, 5 Apr 2012 19:38:25 +0000 (21:38 +0200)
client/electrum4a.py

index 46f803c..440e361 100755 (executable)
@@ -693,9 +693,12 @@ def change_password_dialog():
         modal_dialog('error','passwords do not match')
         return
 
+    wallet.update_password(seed, new_password)
     if new_password:
-        wallet.update_password(seed, new_password)
-
+        modal_dialog('Password updated','your wallet is encrypted')
+    else:
+        modal_dialog('Password removed','your wallet is not encrypted')
+        
 
 def settings_loop():
     droid.fullSetProperty("server","text",wallet.server)