From aa7aeb90148180184ed2bf15010481414f567b54 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Wed, 14 Aug 2019 10:14:20 +0200 Subject: [PATCH] disable go_back button in wizard password dialog (fix #5509) --- electrum/base_wizard.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/electrum/base_wizard.py b/electrum/base_wizard.py index b12e65efa..8b798c8e4 100644 --- a/electrum/base_wizard.py +++ b/electrum/base_wizard.py @@ -544,6 +544,8 @@ class BaseWizard(Logger): storage_enc_version=STO_EV_XPUB_PW, encrypt_keystore=False)) else: + # reset stack to disable 'back' button in password dialog + self.reset_stack() # prompt the user to set an arbitrary password self.request_password( run_next=lambda password, encrypt_storage: self.on_password(