aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-03-14 20:49:22 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-03-14 20:49:22 +0000
commit4410b0e371cf17191d3476a0c283ee59f629e763 (patch)
tree7a39e02de5001c8ae954cefab894502acfae3d76 /lib/python
parentdd81aa4811e3438df86e161a8728223ff3d252f5 (diff)
downloadenigma2-4410b0e371cf17191d3476a0c283ee59f629e763.tar.gz
enigma2-4410b0e371cf17191d3476a0c283ee59f629e763.zip
fix bug
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/ChannelSelection.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/python/Screens/ChannelSelection.py b/lib/python/Screens/ChannelSelection.py
index f4f91272..9e1184d3 100644
--- a/lib/python/Screens/ChannelSelection.py
+++ b/lib/python/Screens/ChannelSelection.py
@@ -342,7 +342,10 @@ class ChannelSelectionEdit:
self.mutableList = None
self.setTitle(self.saved_title)
self.saved_title = None
- self.servicePath = self.savedPath[:]
+ # self.servicePath is just a reference to servicePathTv or Radio...
+ # so we never ever do use the asignment operator in self.servicePath
+ del self.servicePath[:] # remove all elements
+ self.servicePath += self.savedPath # add saved elements
del self.savedPath
self.setRoot(self.servicePath[len(self.servicePath)-1])
@@ -877,7 +880,8 @@ class ChannelSelection(ChannelSelectionBase, ChannelSelectionEdit, ChannelSelect
def setHistoryPath(self):
path = self.history[self.history_pos][:]
ref = path.pop()
- self.servicePath = path
+ del self.servicePath[:]
+ self.servicePath += path
self.saveRoot()
plen = len(path)
root = path[plen-1]