diff options
author | Erik Troan <ewt@redhat.com> | 2000-11-20 16:22:18 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2000-11-20 16:22:18 +0000 |
commit | 8bc1d2087a7953e2b9fdbf9554c39926fb78059f (patch) | |
tree | 3632381879e81894bf13f61a28160fef5345506d /text.py | |
parent | bf5981a5ff55a10b8eb80174f467d493572f208a (diff) | |
download | anaconda-8bc1d2087a7953e2b9fdbf9554c39926fb78059f.tar.gz anaconda-8bc1d2087a7953e2b9fdbf9554c39926fb78059f.tar.xz anaconda-8bc1d2087a7953e2b9fdbf9554c39926fb78059f.zip |
let install classes set themselves as default
Diffstat (limited to 'text.py')
-rw-r--r-- | text.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -197,17 +197,19 @@ class InstallPathWindow: else: instClass = todo.getClass() orig = None + default = 0 i = 0 for (name, object, icon) in classes: if isinstance(instClass, object): orig = i break + elif object.default: + default = i + i = i + 1 if (orig): default = orig - else: - default = 0 (button, choice) = ListboxChoiceWindow(screen, _("Installation Type"), _("What type of system would you like to install?"), |