diff options
author | jakub <jakub> | 1999-10-04 12:35:16 +0000 |
---|---|---|
committer | jakub <jakub> | 1999-10-04 12:35:16 +0000 |
commit | b1b81ac174d14a1357240809c7360a3dc2362cf0 (patch) | |
tree | 24dadaa477c0b1c9f1a3f60bcf85e823d96575db /textw | |
parent | 39170deb90522752415794fa919fd040fa2bc2ed (diff) | |
download | anaconda-b1b81ac174d14a1357240809c7360a3dc2362cf0.tar.gz anaconda-b1b81ac174d14a1357240809c7360a3dc2362cf0.tar.xz anaconda-b1b81ac174d14a1357240809c7360a3dc2362cf0.zip |
Bugfix.
Diffstat (limited to 'textw')
-rw-r--r-- | textw/silo.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/textw/silo.py b/textw/silo.py index aefcfbce5..fc3344602 100644 --- a/textw/silo.py +++ b/textw/silo.py @@ -61,7 +61,10 @@ class SiloWindow: rc2 = SingleRadioButton (format % (boothd, str2, lenmax - len2, ""), rc1) prompath = todo.silo.disk2PromPath(bootpart) - default = prompath and len(prompath) > 0 and todo.silo.hasAliases() + if prompath and len(prompath) > 0 and todo.silo.hasAliases(): + default = 1 + else: + default = 0 linuxAlias = Checkbox ("%s%*s" % (str3, lenmax - len3, ""), default) if not default: linuxAlias.setFlags (FLAG_DISABLED, FLAGS_SET) |