git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
delete correct entry in timerlist
[enigma2.git]
/
lib
/
python
/
Screens
/
TimerEdit.py
diff --git
a/lib/python/Screens/TimerEdit.py
b/lib/python/Screens/TimerEdit.py
index 36502ca0c8aa807235706b4e6205663b353bfb84..ee2920a0f3b09d76f8688281c02d069c50765ad5 100644
(file)
--- a/
lib/python/Screens/TimerEdit.py
+++ b/
lib/python/Screens/TimerEdit.py
@@
-99,13
+99,14
@@
class TimerEditList(Screen):
def removeTimer(self):
list = self["timerlist"]
def removeTimer(self):
list = self["timerlist"]
+ timer = list.getCurrent()[0]
currentIndex = list.getCurrentIndex()
currentIndex = list.getCurrentIndex()
+ self.session.nav.RecordTimer.removeEntry(timer)
list.moveDown()
if list.getCurrentIndex() == currentIndex:
currentIndex -= 1
list.moveDown()
if list.getCurrentIndex() == currentIndex:
currentIndex -= 1
- list.moveToIndex(currentIndex)
- self.session.nav.RecordTimer.removeEntry(list.getCurrent()[0])
self.refill()
self.refill()
+ list.moveToIndex(currentIndex)
def refill(self):
self.fillTimerList()
def refill(self):
self.fillTimerList()