summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive_gtk.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/interactive_gtk.pm')
-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 7aec4b070..089b09e7f 100644
--- a/perl-install/interactive_gtk.pm
+++ b/perl-install/interactive_gtk.pm
@@ -150,7 +150,7 @@ sub ask_from_entries_refW {
$widget->signal_connect(changed => $changed_callback);
my $go_to_next = sub {
if ($ind == $#$l) {
- $w->{ok}->grab_focus();
+ @$l == 1 ? $w->{ok}->clicked : $w->{ok}->grab_focus();
} else {
widget($widgets[$ind+1],$val->[$ind+1])->grab_focus();
}