history fix
[enigma2.git] / lib / python / Screens / ChannelSelection.py
index 476348f7d41388432a4fe2da6fc279beb305f6d7..5c5cc700aca917b8bd2b6de79466ed104ce99786 100644 (file)
@@ -821,6 +821,7 @@ class ChannelSelection(ChannelSelectionBase, ChannelSelectionEdit, ChannelSelect
                hlen = len(self.history)
                if hlen > HISTORYSIZE:
                        del self.history[0]
+                       hlen -= 1
                self.history_pos = hlen-1
 
        def historyBack(self):