kivy: remove redundant declaration
This commit is contained in:
@@ -81,9 +81,6 @@ class EventsDialog(Factory.Popup):
|
|||||||
def on_press(self, instance):
|
def on_press(self, instance):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def close(self):
|
|
||||||
self.dismiss()
|
|
||||||
|
|
||||||
|
|
||||||
class SelectionDialog(EventsDialog):
|
class SelectionDialog(EventsDialog):
|
||||||
|
|
||||||
|
|||||||
@@ -641,7 +641,7 @@ class WizardDialog(EventsDialog):
|
|||||||
|
|
||||||
def on_release(self, button):
|
def on_release(self, button):
|
||||||
self._on_release = True
|
self._on_release = True
|
||||||
self.close()
|
self.dismiss()
|
||||||
if not button:
|
if not button:
|
||||||
self.wizard.terminate(aborted=True)
|
self.wizard.terminate(aborted=True)
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user