diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-01-20 23:00:24 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-01-20 23:00:24 +0000 |
| commit | 7c961a72f320fb95a6a751f0a6ce7456bf9ce14a (patch) | |
| tree | 349d5f6b400b5f9f773063534c0c904eef353ecd /lib/python/Components/TimerList.py | |
| parent | 77d577995c4d036b6c84aff0eeba2d76bd209de9 (diff) | |
| download | enigma2-7c961a72f320fb95a6a751f0a6ce7456bf9ce14a.tar.gz enigma2-7c961a72f320fb95a6a751f0a6ce7456bf9ce14a.zip | |
fix selection when delete latest timer in list
Diffstat (limited to 'lib/python/Components/TimerList.py')
| -rw-r--r-- | lib/python/Components/TimerList.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/python/Components/TimerList.py b/lib/python/Components/TimerList.py index d79187d1..8bb6a0d9 100644 --- a/lib/python/Components/TimerList.py +++ b/lib/python/Components/TimerList.py @@ -76,7 +76,16 @@ class TimerList(HTMLComponent, GUIComponent): self.instance = eListbox(parent) self.instance.setContent(self.l) self.instance.setItemHeight(70) - + + def moveToIndex(self, index): + self.instance.moveSelectionTo(index) + + def getCurrentIndex(self): + return self.instance.getCurrentIndex() + + def moveDown(self): + self.instance.moveSelection(self.instance.moveDown) + def GUIdelete(self): self.instance.setContent(None) self.instance = None |
