diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-09-29 16:03:06 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-09-29 16:03:06 +0000 |
commit | feeb73ca816e2dabb9041d6d1c20f0f4c865d013 (patch) | |
tree | 3a591f6e721700ef290837df5d292bb06de8d4af /iw | |
parent | 419a672617f683833e3ee8e0cc3df904463ee4c7 (diff) | |
download | anaconda-feeb73ca816e2dabb9041d6d1c20f0f4c865d013.tar.gz anaconda-feeb73ca816e2dabb9041d6d1c20f0f4c865d013.tar.xz anaconda-feeb73ca816e2dabb9041d6d1c20f0f4c865d013.zip |
2004-09-29 Jeremy Katz <katzj@redhat.com>
* iw/language_support_gui.py: Avoid changing default language when
selecting additional languages (#134040)
Diffstat (limited to 'iw')
-rw-r--r-- | iw/language_support_gui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iw/language_support_gui.py b/iw/language_support_gui.py index d2a8a14f0..1bca0feef 100644 --- a/iw/language_support_gui.py +++ b/iw/language_support_gui.py @@ -74,7 +74,7 @@ class LanguageSupportWindow (InstallWindow): self.ics.setNextEnabled (gtk.TRUE) curidx = self.deflang_combo.get_active() - if curidx > 0: + if curidx >= 0 and len(self.deflang_values) > 0: self.defaultLang = self.deflang_values[curidx] else: self.defaultLang = None |