git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d7ade1d
)
fix 'remove entry' when timer debug list is already empty
author
Felix Domke
<tmbinc@elitedvb.net>
Fri, 26 Oct 2007 17:01:07 +0000
(17:01 +0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Fri, 26 Oct 2007 17:01:07 +0000
(17:01 +0000)
lib/python/Screens/TimerEntry.py
patch
|
blob
|
history
diff --git
a/lib/python/Screens/TimerEntry.py
b/lib/python/Screens/TimerEntry.py
index 4f1d6d689ea1b4452a3c4d176d883ccee4cf9107..faf4f304c7933df886862873831e9f89d549227b 100644
(file)
--- a/
lib/python/Screens/TimerEntry.py
+++ b/
lib/python/Screens/TimerEntry.py
@@
-343,7
+343,10
@@
class TimerLog(Screen):
}, -1)
def deleteEntry(self):
- self.log_entries.remove(self["loglist"].getCurrent()[1])
+ cur = self["loglist"].getCurrent()
+ if cur is None:
+ return
+ self.log_entries.remove(cur[1])
self.fillLogList()
self["loglist"].l.setList(self.list)
self.updateText()