do not put the same channel to history
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Sat, 3 Jun 2006 12:16:04 +0000 (12:16 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Sat, 3 Jun 2006 12:16:04 +0000 (12:16 +0000)
lib/python/Screens/ChannelSelection.py

index b715ccc4f5afb13599470291995fa10f8e3a870d..d4a5279909f2434b2626fb552d165d4ccb11e90c 100644 (file)
@@ -895,9 +895,9 @@ class ChannelSelection(ChannelSelectionBase, ChannelSelectionEdit, ChannelSelect
                nref = self.getCurrentSelection()
                if ref is None or ref != nref:
                        self.session.nav.playService(nref)
                nref = self.getCurrentSelection()
                if ref is None or ref != nref:
                        self.session.nav.playService(nref)
-               self.saveRoot()
-               self.saveChannel()
-               self.addToHistory(nref)
+                       self.saveRoot()
+                       self.saveChannel()
+                       self.addToHistory(nref)
 
        def addToHistory(self, ref):
                if self.servicePath is not None:
 
        def addToHistory(self, ref):
                if self.servicePath is not None: