summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-02-22 01:34:23 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-02-22 01:34:23 +0000
commitb54932b13d5a21de48e68692d35724d5929f48af (patch)
tree4487934355a0a50ba048cdd5fc7fb4c9c42ec4a5
parent841067b45e61bb8d5a1394d8bba25db1d2a23ea0 (diff)
downloaddrakx-backup-do-not-use-b54932b13d5a21de48e68692d35724d5929f48af.tar
drakx-backup-do-not-use-b54932b13d5a21de48e68692d35724d5929f48af.tar.gz
drakx-backup-do-not-use-b54932b13d5a21de48e68692d35724d5929f48af.tar.bz2
drakx-backup-do-not-use-b54932b13d5a21de48e68692d35724d5929f48af.tar.xz
drakx-backup-do-not-use-b54932b13d5a21de48e68692d35724d5929f48af.zip
(ask_from_entries_refH_powered_normalize): if list+format then type is
'list', combo not accepted (hacky?)
-rw-r--r--perl-install/interactive.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm
index 162c7301b..de575c52b 100644
--- a/perl-install/interactive.pm
+++ b/perl-install/interactive.pm
@@ -219,6 +219,7 @@ sub ask_from_entries_refH_powered_normalize {
}
$e->{type} = 'iconlist' if $e->{icon2f};
$e->{type} = 'treelist' if $e->{separator};
+ $e->{type} = 'list' if $e->{format};
add2hash_($e, { not_edit => 1, type => 'combo' });
${$e->{val}} = $l->[0] if ($e->{type} ne 'combo' || $e->{not_edit}) && !member(${$e->{val}}, @$l);
} elsif ($e->{type} eq 'range') {