ChannelSelection.py: another small fix for bug #420
authorghost <andreas.monzner@multimedia-labs.de>
Wed, 27 Jan 2010 22:30:01 +0000 (23:30 +0100)
committerghost <andreas.monzner@multimedia-labs.de>
Wed, 27 Jan 2010 22:30:18 +0000 (23:30 +0100)
lib/python/Screens/ChannelSelection.py

index eb03ee6..4ca6fa3 100644 (file)
@@ -1467,7 +1467,7 @@ class ChannelSelectionRadio(ChannelSelectionBase, ChannelSelectionEdit, ChannelS
                        config.radio.lastroot.save()
 
        def restoreRoot(self):
                        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
                current = [x.toString() for x in self.servicePath]
                if tmp != current or self.rootChanged:
                        cnt = 0