fix remove last timer
[enigma2.git] / lib / python / Screens / TimerEdit.py
index 761b2b489cb34f400816ba66e134f2c40d8f336f..018e28dc09d6815acc7bc4408e38b9098714e236 100644 (file)
@@ -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()