From 494169d25068e3d3dd2dcc8b37b42d32df6935e7 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Wed, 30 Nov 2005 14:15:56 +0000 Subject: jumping to an entry beginning with a character nearly works now --- lib/python/Screens/ChannelSelection.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/python/Screens') diff --git a/lib/python/Screens/ChannelSelection.py b/lib/python/Screens/ChannelSelection.py index 565655f9..3cca57fa 100644 --- a/lib/python/Screens/ChannelSelection.py +++ b/lib/python/Screens/ChannelSelection.py @@ -276,9 +276,10 @@ class ChannelSelectionBase(Screen): self.setRoot(self.bouquet_root) def keyNumberGlobal(self, number): + char = self.numericalTextInput.getKey(number) print "You pressed number " + str(number) - print "You would go to character " + str(self.numericalTextInput.getKey(number)) - # TODO let the servicelist jump to the next entry strating with the chosen character + print "You would go to character " + str(char) + self.servicelist.moveToChar(char) def enterBouquet(self, action): if action[:7] == "bouquet": -- cgit v1.2.3