From 6273b4808fc6748d1957e837c736665ce70b5295 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Tue, 8 Dec 2020 19:42:21 +0100 Subject: [PATCH] kivy: ensure WizardDialog.on_release is not executed more than once (see #6822) --- electrum/gui/kivy/uix/dialogs/installwizard.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/electrum/gui/kivy/uix/dialogs/installwizard.py b/electrum/gui/kivy/uix/dialogs/installwizard.py index 230434c21..15d6ee33c 100644 --- a/electrum/gui/kivy/uix/dialogs/installwizard.py +++ b/electrum/gui/kivy/uix/dialogs/installwizard.py @@ -640,6 +640,8 @@ class WizardDialog(EventsDialog): return (None,) def on_release(self, button): + if self._on_release is True: + return self._on_release = True self.dismiss() if not button: