From ff90cba66b3ebe6adf9b436fa8ae9ac440a0c70c Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Sat, 12 Nov 2005 00:30:28 +0000 Subject: textinput works now except for the nextCharacter-thing --- lib/python/Components/config.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/python/Components') diff --git a/lib/python/Components/config.py b/lib/python/Components/config.py index f2d45ef8..1486420c 100644 --- a/lib/python/Components/config.py +++ b/lib/python/Components/config.py @@ -298,13 +298,17 @@ class configText: #this will no change anything on the value itself #so we can handle it here in gui element if key == config.key["prevElement"]: + self.textInput.nextKey() self.markedPos -= 1 + if key == config.key["nextElement"]: + self.textInput.nextKey() self.markedPos += 1 if (self.mode == self.extendableSize): if (self.markedPos >= len(self.parent.value)): self.parent.value = self.parent.value.ljust(len(self.parent.value) + 1) - + + if key >= config.key["0"] and key <= config.key["9"]: number = 9 - config.key["9"] + key -- cgit v1.2.3