summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-01-11 14:21:13 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-01-11 14:21:13 +0000
commitdaea144eeffb32d2865aba934fbb4843b3fbbbef (patch)
tree9baab9ff78ae02af096e2b2fb2154542a54bf8e1
parentba9ac83ec2364c001f696a58e37d9dec7a7db76e (diff)
downloaddrakx-daea144eeffb32d2865aba934fbb4843b3fbbbef.tar
drakx-daea144eeffb32d2865aba934fbb4843b3fbbbef.tar.gz
drakx-daea144eeffb32d2865aba934fbb4843b3fbbbef.tar.bz2
drakx-daea144eeffb32d2865aba934fbb4843b3fbbbef.tar.xz
drakx-daea144eeffb32d2865aba934fbb4843b3fbbbef.zip
(create_ctree): fix default value selecting failing (in case of "format")
-rw-r--r--perl-install/interactive_gtk.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/interactive_gtk.pm b/perl-install/interactive_gtk.pm
index 87b6db89c..bed7e1f8d 100644
--- a/perl-install/interactive_gtk.pm
+++ b/perl-install/interactive_gtk.pm
@@ -161,7 +161,8 @@ sub create_ctree {
$tree->set_row_height($tree->style->font->ascent + $tree->style->font->descent + 1);
$tree, sub {
- my $node = $wleaves{$_[0]} or return;
+ my $v = may_apply($e->{format}, $_[0]);
+ my $node = $wleaves{$v} or return;
for (my $c = $node; $c; $c = $c->row->parent) {
$tree->expand($c);