diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-04-04 21:49:42 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-04-04 21:49:42 +0000 |
| commit | ddbade50b0f18544ba0e378d0b2937788cdd269c (patch) | |
| tree | 7c7a54bc7fa8f2f1be4d463194e84ba7d820b186 /lib/python/Components/UsageConfig.py | |
| parent | 0b3f0682adc10d05a81c26e5a99cc77b9f0f507d (diff) | |
| download | enigma2-ddbade50b0f18544ba0e378d0b2937788cdd269c.tar.gz enigma2-ddbade50b0f18544ba0e378d0b2937788cdd269c.zip | |
fix tabs
Diffstat (limited to 'lib/python/Components/UsageConfig.py')
| -rw-r--r-- | lib/python/Components/UsageConfig.py | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/lib/python/Components/UsageConfig.py b/lib/python/Components/UsageConfig.py index ad95b3c2..cfdb4589 100644 --- a/lib/python/Components/UsageConfig.py +++ b/lib/python/Components/UsageConfig.py @@ -109,14 +109,13 @@ def InitUsageConfig(): def updateChoices(sel, choices): if choices: - defval = None - val = int(sel.value) + defval = None + val = int(sel.value) if not val in choices: - tmp = choices+[] - tmp.reverse() - for x in tmp: - if x < val: - defval = str(x) - break + tmp = choices+[] + tmp.reverse() + for x in tmp: + if x < val: + defval = str(x) + break sel.setChoices(map(str, choices), defval) - |
