commit fb5e096a185b95fa6ac50b73f279e8076e93ecaf
parent 689fc1e2074ddb362d9b71452f00685154eb0b0b
Author: ThomasV <thomasv@gitorious>
Date: Fri, 9 Dec 2011 01:54:49 +0100
fix cancel button in password dialog
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/client/gui.py b/client/gui.py
@@ -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: