summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-10-14 10:39:39 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-10-14 10:39:39 +0000
commit2aced1a3a3a2a21f67eb89e4b841da13642fa1e8 (patch)
tree918fc4b439be3634e38412358c2cfd66e57ef14d /perl-install
parentbe5966d85a4f52d60a2c8ec3157f9f772518e54c (diff)
downloaddrakx-backup-do-not-use-2aced1a3a3a2a21f67eb89e4b841da13642fa1e8.tar
drakx-backup-do-not-use-2aced1a3a3a2a21f67eb89e4b841da13642fa1e8.tar.gz
drakx-backup-do-not-use-2aced1a3a3a2a21f67eb89e4b841da13642fa1e8.tar.bz2
drakx-backup-do-not-use-2aced1a3a3a2a21f67eb89e4b841da13642fa1e8.tar.xz
drakx-backup-do-not-use-2aced1a3a3a2a21f67eb89e4b841da13642fa1e8.zip
simplify advanced settings detection in expert mode
Diffstat (limited to 'perl-install')
-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 1dfb62060..f79ee081b 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 ($::expert && any { $_->{advanced} } @$l2) {
+ if ($::expert && @$l2) {
$common->{advanced_state} = 1;
$advanced_button->[0] = $common->{advanced_label_close};
}