From 6f90f7712f02d0b521356262b95c60c8b7c1fa8a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 13 Oct 2003 13:47:58 +0000 Subject: fix lost checkbox states when "expert mode" option is checked --- perl-install/interactive/gtk.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/interactive') 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}; } -- cgit v1.2.1