summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-10-13 13:47:58 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-10-13 13:47:58 +0000
commit6f90f7712f02d0b521356262b95c60c8b7c1fa8a (patch)
tree6d972acf032ccdd6ab19bdcc1c08b681f95ca879 /perl-install/interactive
parentc640e13e78f7b6fd80614b108d67cb64db1021dd (diff)
downloaddrakx-6f90f7712f02d0b521356262b95c60c8b7c1fa8a.tar
drakx-6f90f7712f02d0b521356262b95c60c8b7c1fa8a.tar.gz
drakx-6f90f7712f02d0b521356262b95c60c8b7c1fa8a.tar.bz2
drakx-6f90f7712f02d0b521356262b95c60c8b7c1fa8a.tar.xz
drakx-6f90f7712f02d0b521356262b95c60c8b7c1fa8a.zip
fix lost checkbox states when "expert mode" option is checked
Diffstat (limited to 'perl-install/interactive')
-rw-r--r--perl-install/interactive/gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index e348271f1..9a41dbca5 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -653,7 +653,7 @@ sub ask_fromW {
my $message = $common->{interactive_help}->() or return;
$o->ask_warn(N("Help"), $message);
}, 1 ]);
- if ($::isStandalone && $::expert) {
+ if ($::isStandalone && $::expert && any { $_->{advanced} } @$l) {
$common->{advanced_state} = 1;
$advanced_button->[0] = $common->{advanced_label_close};
}