From 3ed2a2a7ae8652da1b60f0cb080037ac38699544 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Wed, 4 Jan 2006 22:28:36 +0000 Subject: leave menu with menu button --- lib/python/Screens/Menu.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/python/Screens/Menu.py') diff --git a/lib/python/Screens/Menu.py b/lib/python/Screens/Menu.py index 7554d814..0abc1735 100644 --- a/lib/python/Screens/Menu.py +++ b/lib/python/Screens/Menu.py @@ -139,10 +139,11 @@ class Menu(Screen): self["menu"] = MenuList(list) - self["actions"] = ActionMap(["OkCancelActions"], + self["actions"] = ActionMap(["OkCancelActions", "MenuActions"], { "ok": self.okbuttonClick, - "cancel": self.close + "cancel": self.close, + "menu": self.close }) a = getValbyAttr(parent, "title") -- cgit v1.2.3