diff options
author | bfox <bfox> | 2001-01-17 22:28:08 +0000 |
---|---|---|
committer | bfox <bfox> | 2001-01-17 22:28:08 +0000 |
commit | 122fe33ca02bdab0f2f3ee5c8cb7ade133f3df86 (patch) | |
tree | 87d73682a9dad04c43fce858d8bee76069fe4090 /text.py | |
parent | 2bba6297aa46277b31f11ecf79613f950a7c5934 (diff) | |
download | anaconda-122fe33ca02bdab0f2f3ee5c8cb7ade133f3df86.tar.gz anaconda-122fe33ca02bdab0f2f3ee5c8cb7ade133f3df86.tar.xz anaconda-122fe33ca02bdab0f2f3ee5c8cb7ade133f3df86.zip |
Fixed bug going back and forth in language default screen.
Diffstat (limited to 'text.py')
-rw-r--r-- | text.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -186,11 +186,14 @@ class LanguageDefaultWindow: descriptions.sort () current = todo.language.get () + found = FALSE for lang in langs: if languages[lang] == current: default = langs.index (lang) + found = TRUE else: - default = langs[0] + if found == FALSE: + default = langs[0] height = min((screen.height - 16, len(descriptions))) |