diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2005-11-14 03:02:01 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2005-11-14 03:02:01 +0000 |
| commit | 6047456faa97f18ca8b6ea7bfbb2ac1856765580 (patch) | |
| tree | a21421c227dcafc2fff5e88f0c14f8c8be1d5997 /lib/python/Screens | |
| parent | e41cbd8e4f84ce4ef23095e7eaba9c885922ba92 (diff) | |
| download | enigma2-6047456faa97f18ca8b6ea7bfbb2ac1856765580.tar.gz enigma2-6047456faa97f18ca8b6ea7bfbb2ac1856765580.zip | |
fix movemode, do not use listboxcontent private variables
Diffstat (limited to 'lib/python/Screens')
| -rw-r--r-- | lib/python/Screens/ChannelSelection.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Screens/ChannelSelection.py b/lib/python/Screens/ChannelSelection.py index 496131bd..fc412a84 100644 --- a/lib/python/Screens/ChannelSelection.py +++ b/lib/python/Screens/ChannelSelection.py @@ -126,10 +126,8 @@ class ChannelSelection(Screen): ref=l.getCurrent() if ref.valid() and self.mutableList is not None: self.mutableList.removeService(ref) - pos = l.cursorGet() self.mutableList.flushChanges() #FIXME dont flush on each single removed service self.setRoot(l.getRoot()) -# l.cursorSet(pos) #whats going wrong here???? def endMarkedEdit(self, abort): l = self["list"] @@ -208,6 +206,8 @@ class ChannelSelection(Screen): def toggleMoveMode(self): if self.movemode: + if self.entry_marked: + self.channelSelected() # unmark current entry self.movemode = False self.mutableList.flushChanges() # FIXME add check if changes was made else: |
