From 6eb70d879ac65c1413ed84ba286f6123060a905e Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 3 Nov 2003 18:44:06 +0000 Subject: (set_advanced closure) simplify --- perl-install/interactive/gtk.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm index b588094f0..0c301271d 100644 --- a/perl-install/interactive/gtk.pm +++ b/perl-install/interactive/gtk.pm @@ -605,7 +605,7 @@ sub ask_fromW { $set_advanced_raw->($advanced); @widgets = (@widgets_always, if_($advanced, @widgets_advanced)); $mainw->sync; #- for $set_all below (mainly for the set of clist) - $first_time = 0 if $first_time; + $first_time = 0; $set_all->(); #- must be done when showing advanced lists (to center selected value) }; my $advanced_button = [ $common->{advanced_label}, -- cgit v1.2.1