tkivy: ensure WizardDialog.on_release is not executed more than once (see #6822) - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 6273b4808fc6748d1957e837c736665ce70b5295 DIR parent 201ffa210e1aec6de38fa16505335cee99503534 HTML 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: M electrum/gui/kivy/uix/dialogs/inst… | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) --- DIR diff --git a/electrum/gui/kivy/uix/dialogs/installwizard.py b/electrum/gui/kivy/uix/dialogs/installwizard.py t@@ -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: