aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/TimerEdit.py5
1 files changed, 0 insertions, 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()