commit b6f63e1abf2cc3faa9c504e73af656889b9fab9e
parent 1851ec962f6a6e42fbb464505122106bb12e7af3
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 9 Dec 2020 19:10:51 +0100
kivy: dismiss wizard dialog before calling go_back
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/electrum/gui/kivy/uix/dialogs/installwizard.py b/electrum/gui/kivy/uix/dialogs/installwizard.py
@@ -619,6 +619,7 @@ class WizardDialog(EventsDialog):
def on_keyboard(self, instance, key, keycode, codepoint, modifier):
if key == 27:
if self.wizard.can_go_back():
+ self.dismiss()
self.wizard.go_back()
else:
if not self.app.is_exit: