fix cancel button in password dialog
This commit is contained in:
parent
689fc1e207
commit
fb5e096a18
|
@ -320,7 +320,7 @@ def password_dialog():
|
||||||
result = dialog.run()
|
result = dialog.run()
|
||||||
pw = current_pw_entry.get_text()
|
pw = current_pw_entry.get_text()
|
||||||
dialog.destroy()
|
dialog.destroy()
|
||||||
if result: return pw
|
if result != gtk.RESPONSE_CANCEL: return pw
|
||||||
|
|
||||||
def change_password_dialog(wallet, parent, icon):
|
def change_password_dialog(wallet, parent, icon):
|
||||||
if parent:
|
if parent:
|
||||||
|
|
Loading…
Reference in New Issue