tfix cancel button in password dialog - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit fb5e096a185b95fa6ac50b73f279e8076e93ecaf DIR parent 689fc1e2074ddb362d9b71452f00685154eb0b0b HTML Author: ThomasV <thomasv@gitorious> Date: Fri, 9 Dec 2011 01:54:49 +0100 fix cancel button in password dialog Diffstat: M client/gui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/client/gui.py b/client/gui.py t@@ -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: