From e1342ca063df18d3b933420150d06b86ea506bb3 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Fri, 3 Mar 2006 16:44:20 +0000 Subject: [PATCH] fix remove last timer --- lib/python/Screens/TimerEdit.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/python/Screens/TimerEdit.py b/lib/python/Screens/TimerEdit.py index 761b2b48..018e28dc 100644 --- a/lib/python/Screens/TimerEdit.py +++ b/lib/python/Screens/TimerEdit.py @@ -104,13 +104,8 @@ class TimerEditList(Screen): def removeTimer(self): list = self["timerlist"] timer = list.getCurrent()[0] - currentIndex = list.getCurrentIndex() self.session.nav.RecordTimer.removeEntry(timer) - list.moveDown() - if list.getCurrentIndex() == currentIndex: - currentIndex -= 1 self.refill() - list.moveToIndex(currentIndex) def refill(self): self.fillTimerList() -- 2.30.2