summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/any.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 30436d9d5..7af5881dd 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -768,8 +768,10 @@ sub selectCountry {
list => \@best, sort => 1 }),
{ val => \$ext_country, type => 'list', format => \&lang::c2name,
list => [ @countries ], advanced => scalar(@best) },
- { val => \$locale->{IM}, type => 'combo', label => N("Input method:"), sort => 0,
- list => [ N_("None"), sort(lang::get_ims()) ], advanced => 1, format => sub { uc(translate($_[0])) }, },
+ { val => \$locale->{IM}, type => 'combo', label => N("Input method:"), sort => 0,
+ list => [ N_("None"), sort(lang::get_ims()) ], format => sub { uc(translate($_[0])) },
+ advanced => !$locale->{IM} || $locale->{IM} eq 'None',
+ },
]) or return;
$locale->{country} = $other || !@best ? $ext_country : $country;