ChannelSelection.py: another small fix for bug #420
[vuplus_dvbapp] / lib / python / Screens / ChannelSelection.py
index 8ac5386..4ca6fa3 100644 (file)
@@ -1181,6 +1181,7 @@ class ChannelSelection(ChannelSelectionBase, ChannelSelectionEdit, ChannelSelect
                self.servicelist.setPlayableIgnoreService(eServiceReference())
 
        def setMode(self):
+               self.rootChanged = True
                self.restoreRoot()
                lastservice=eServiceReference(self.lastservice.value)
                if lastservice.valid():
@@ -1466,7 +1467,7 @@ class ChannelSelectionRadio(ChannelSelectionBase, ChannelSelectionEdit, ChannelS
                        config.radio.lastroot.save()
 
        def restoreRoot(self):
-               tmp = [x for x in self.lastroot.value.split(';') if x != '']
+               tmp = [x for x in config.radio.lastroot.value.split(';') if x != '']
                current = [x.toString() for x in self.servicePath]
                if tmp != current or self.rootChanged:
                        cnt = 0