mirror of https://github.com/kivy/kivy.git
Merge pull request #2557 from kivy/_do_release
uix:ToggleButton Behavior make it consistent with ButtonBehavior
This commit is contained in:
commit
219ae318a6
|
@ -230,7 +230,7 @@ class ToggleButtonBehavior(ButtonBehavior):
|
|||
self._release_group(self)
|
||||
self.state = 'normal' if self.state == 'down' else 'down'
|
||||
|
||||
def _do_release(self):
|
||||
def _do_release(self, *args):
|
||||
pass
|
||||
|
||||
@staticmethod
|
||||
|
|
Loading…
Reference in New Issue