From 51d5a73e196435b2f7d9de9e2d007c422293f071 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Tue, 29 May 2007 12:33:35 +0000 Subject: [PATCH] fix for more than one CI --- data/skin_default.xml | 2 +- lib/python/Screens/Ci.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/data/skin_default.xml b/data/skin_default.xml index 2057a397..d8077d4b 100644 --- a/data/skin_default.xml +++ b/data/skin_default.xml @@ -105,7 +105,7 @@ - + diff --git a/lib/python/Screens/Ci.py b/lib/python/Screens/Ci.py index 27ca5aa3..d23fb044 100644 --- a/lib/python/Screens/Ci.py +++ b/lib/python/Screens/Ci.py @@ -265,6 +265,7 @@ class CiSelection(Screen): for slot in range(MAX_NUM_CI): state = eDVBCI_UI.getInstance().getState(slot) + print "slot", slot, "state", state if state != -1: self.appendEntries(slot, state) CiHandler.registerCIMessageHandler(slot, self.ciStateChanged) @@ -308,7 +309,7 @@ class CiSelection(Screen): self.state[slot] = state slotidx=0 - while self.list[slotidx][2] != slot: + while self.list[slotidx][3] != slot: slotidx += 1 slotidx += 1 # do not change Reset -- 2.30.2