diff options
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/Screens/Ci.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/python/Screens/Ci.py b/lib/python/Screens/Ci.py index 09083f4e..881ad10d 100644 --- a/lib/python/Screens/Ci.py +++ b/lib/python/Screens/Ci.py @@ -273,6 +273,12 @@ class CiSelection(Screen): menuList.list = self.list menuList.l.setList(self.list) self["entries"] = menuList + self["entries"].onSelectionChanged.append(self.selectionChanged) + self["text"] = Label(_("Slot %d")%(1)) + + def selectionChanged(self): + cur_idx = self["entries"].getCurrentIndex() + self["text"].setText(_("Slot %d")%((cur_idx / 4)+1)) def keyConfigEntry(self, key): try: |
