From 4753fd8706b5a560751583e39dff9469c1c34a5e Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 23 Jan 2003 15:02:56 +0000 Subject: workaround bug introduced by new pixel focus managment --- perl-install/interactive/gtk.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/interactive/gtk.pm') diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm index 168cf7f45..d8285dd60 100644 --- a/perl-install/interactive/gtk.pm +++ b/perl-install/interactive/gtk.pm @@ -630,7 +630,7 @@ sub ask_fromW { @widgets && ($common->{focus_first} || @widgets == 1 && member(ref $widgets[0]{focus_w}, "Gtk2::TreeView", "Gtk2::RadioButton")) ? $widgets[0]{focus_w} : $mainw->{ok}; - $widget_to_focus->grab_focus(); + $widget_to_focus->grab_focus() if $widget_to_focus; my $check = sub { my ($f) = @_; -- cgit v1.2.1