From fe5aaf2e68480fd12ef89c20c567bfc23eb44a21 Mon Sep 17 00:00:00 2001 From: ims Date: Sun, 15 Sep 2024 07:21:05 +0200 Subject: [PATCH] Event number as event_nr added for items to TimerEditList screen --- lib/python/Screens/TimerEdit.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/python/Screens/TimerEdit.py b/lib/python/Screens/TimerEdit.py index 254e503a4a6..62fced90af5 100644 --- a/lib/python/Screens/TimerEdit.py +++ b/lib/python/Screens/TimerEdit.py @@ -51,6 +51,7 @@ def __init__(self, session): self["key_info"] = StaticText(_("INFO")) self["description"] = Label("") + self["event_nr"] = Label("") self["actions"] = ActionMap(["OkCancelActions", "DirectionActions", "ShortcutActions", "TimerEditActions"], { @@ -167,6 +168,7 @@ def updateState(self): cur = self["timerlist"].getCurrent() if cur: self["Service"].newService(cur.service_ref.ref) + self["event_nr"].setText(cur.eit if cur.eit else "") if cur.external: self["key_info"].setText("") else: @@ -219,6 +221,7 @@ def updateState(self): self.key_yellow_choice = self.DISABLE else: self["description"].setText("") + self["event_nr"].setText("") if self.key_red_choice != self.EMPTY: self.removeAction("red") self["key_red"].setText("")