aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/ChannelSelection.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Screens/ChannelSelection.py')
-rw-r--r--lib/python/Screens/ChannelSelection.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/python/Screens/ChannelSelection.py b/lib/python/Screens/ChannelSelection.py
index 47a9d9e6..bbd4fd3f 100644
--- a/lib/python/Screens/ChannelSelection.py
+++ b/lib/python/Screens/ChannelSelection.py
@@ -897,9 +897,12 @@ class ChannelSelection(ChannelSelectionBase, ChannelSelectionEdit, ChannelSelect
self.session.nav.playService(nref)
self.saveRoot()
self.saveChannel()
+ self.addToHistory(nref)
+
+ def addToHistory(self, ref):
if self.servicePath is not None:
tmp=self.servicePath[:]
- tmp.append(nref)
+ tmp.append(ref)
try:
del self.history[self.history_pos+1:]
except: