diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-11-29 00:11:06 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-11-29 00:11:06 +0000 |
| commit | 1b7c72ab3e418455c7da93b16e07f690328e3362 (patch) | |
| tree | f41374131492300d47f266fa8fec4ecf9fd8d607 /lib/python/Tools | |
| parent | e4034b7fce157a23fcd2668a59ccc7a32d19ac84 (diff) | |
| download | enigma2-1b7c72ab3e418455c7da93b16e07f690328e3362.tar.gz enigma2-1b7c72ab3e418455c7da93b16e07f690328e3362.zip | |
use NumericalTextInput to jump to entries in ChannelSelection (jumping needs to implemented before it will work :))
Diffstat (limited to 'lib/python/Tools')
| -rw-r--r-- | lib/python/Tools/NumericalTextInput.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/python/Tools/NumericalTextInput.py b/lib/python/Tools/NumericalTextInput.py index 79c33010..74497895 100644 --- a/lib/python/Tools/NumericalTextInput.py +++ b/lib/python/Tools/NumericalTextInput.py @@ -13,7 +13,7 @@ class NumericalTextInput: mapping.append ("tuv8TUV") # 8 mapping.append ("wxyz9WXYZ") # 9 - def __init__(self, nextFunction): + def __init__(self, nextFunction = None): self.nextFunction = nextFunction self.Timer = eTimer() self.Timer.timeout.get().append(self.nextChar) @@ -40,5 +40,6 @@ class NumericalTextInput: self.Timer.stop() print "Timer done" self.nextKey() - self.nextFunction() + if (self.nextFunction != None): + self.nextFunction()
\ No newline at end of file |
