diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-11-29 22:09:07 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-11-29 22:09:07 +0000 |
| commit | 89a936e39a696d7d4928051b31871f483dd178d1 (patch) | |
| tree | 2fd817db82aa8e3fb2978b744cfb5b0dfa277e99 /lib/python/Components | |
| parent | e7a77b87eee22c35e93cbd42b329dc5165e29144 (diff) | |
| download | enigma2-89a936e39a696d7d4928051b31871f483dd178d1.tar.gz enigma2-89a936e39a696d7d4928051b31871f483dd178d1.zip | |
remove cursor when configElement is enabled==False
Diffstat (limited to 'lib/python/Components')
| -rw-r--r-- | lib/python/Components/config.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/python/Components/config.py b/lib/python/Components/config.py index 7137845f..037b66b1 100644 --- a/lib/python/Components/config.py +++ b/lib/python/Components/config.py @@ -260,8 +260,11 @@ class configSequence: num += 1 # only mark cursor when we are selected # (this code is heavily ink optimized!) - return ("mtext"[1-selected:], value, [mPos]) - + if (self.parent.enabled == True): + return ("mtext"[1-selected:], value, [mPos]) + else: + return ("text", value) + class configText: # used as first parameter # is the text of a fixed size or is the user able to extend the length of the text |
