diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-01-11 14:21:13 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-01-11 14:21:13 +0000 |
commit | daea144eeffb32d2865aba934fbb4843b3fbbbef (patch) | |
tree | 9baab9ff78ae02af096e2b2fb2154542a54bf8e1 | |
parent | ba9ac83ec2364c001f696a58e37d9dec7a7db76e (diff) | |
download | drakx-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.pm | 3 |
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); |