commit 6273b4808fc6748d1957e837c736665ce70b5295
parent 201ffa210e1aec6de38fa16505335cee99503534
Author: ThomasV <thomasv@electrum.org>
Date: Tue, 8 Dec 2020 19:42:21 +0100
kivy: ensure WizardDialog.on_release is not executed more than once (see #6822)
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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: