Browse Source

kivy: fix menu dismiss

283
ThomasV 9 years ago
parent
commit
4a0994be8a
  1. 3
      gui/kivy/main.kv

3
gui/kivy/main.kv

@ -338,7 +338,8 @@
<ActionOvrButton@ActionButton>
on_release:
Clock.schedule_once(lambda dt: self.parent.parent.dismiss() if self.parent else None, 0.05)
# fixme: the following line was commented out because it does no seem to do what it's intended:
# Clock.schedule_once(lambda dt: self.parent.parent.dismiss() if self.parent else None, 0.05)
Clock.schedule_once(lambda dt: app.popup_dialog(self.name), 0.05)

Loading…
Cancel
Save