fix cancel button in password dialog

This commit is contained in:
ThomasV 2011-12-09 01:54:49 +01:00
parent 689fc1e207
commit fb5e096a18
1 changed files with 1 additions and 1 deletions

View File

@ -320,7 +320,7 @@ def password_dialog():
result = dialog.run()
pw = current_pw_entry.get_text()
dialog.destroy()
if result: return pw
if result != gtk.RESPONSE_CANCEL: return pw
def change_password_dialog(wallet, parent, icon):
if parent: