commit 8bdd44edcbd5d8a9d9c24031c44c138fa02a4271 parent 95b08e9961242aabfe0501b4b7a3102fce2dd03d Author: ThomasV <thomasv@electrum.org> Date: Tue, 8 Dec 2020 10:44:59 +0100 kivy: remove redundant declaration Diffstat:
M | electrum/gui/kivy/uix/dialogs/__init__.py | | | 3 | --- |
M | electrum/gui/kivy/uix/dialogs/installwizard.py | | | 2 | +- |
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/electrum/gui/kivy/uix/dialogs/__init__.py b/electrum/gui/kivy/uix/dialogs/__init__.py @@ -81,9 +81,6 @@ class EventsDialog(Factory.Popup): def on_press(self, instance): pass - def close(self): - self.dismiss() - class SelectionDialog(EventsDialog): diff --git a/electrum/gui/kivy/uix/dialogs/installwizard.py b/electrum/gui/kivy/uix/dialogs/installwizard.py @@ -641,7 +641,7 @@ class WizardDialog(EventsDialog): def on_release(self, button): self._on_release = True - self.close() + self.dismiss() if not button: self.wizard.terminate(aborted=True) return