summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-10-13 19:32:15 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-10-13 19:32:15 +0000
commit9cbdff09fb1cc6181d1b969a858fc686539f7c05 (patch)
tree3a7ed33089248cd64ffaac27656c9053aeb08133 /perl-install/interactive
parentb64f705ee9928820af105c3dbeeabde172d05640 (diff)
downloaddrakx-9cbdff09fb1cc6181d1b969a858fc686539f7c05.tar
drakx-9cbdff09fb1cc6181d1b969a858fc686539f7c05.tar.gz
drakx-9cbdff09fb1cc6181d1b969a858fc686539f7c05.tar.bz2
drakx-9cbdff09fb1cc6181d1b969a858fc686539f7c05.tar.xz
drakx-9cbdff09fb1cc6181d1b969a858fc686539f7c05.zip
forward:
- fix lost checkbox states when "expert mode" option is checked - fix first part of #5315: honour expert mode while installing in drakconnect (aka when expert mode checkbox was checked)fix
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..79457bc82 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 ($::expert && any { $_->{advanced} } @$l) {
$common->{advanced_state} = 1;
$advanced_button->[0] = $common->{advanced_label_close};
}