From 8ce48e0454f969b01ea6ff1b3c670e3891c08c48 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 9 Dec 2002 20:32:25 +0000 Subject: remove code handling setstep --- perl-install/interactive/newt.pm | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'perl-install/interactive') diff --git a/perl-install/interactive/newt.pm b/perl-install/interactive/newt.pm index 1214de57b..5c531f1fc 100644 --- a/perl-install/interactive/newt.pm +++ b/perl-install/interactive/newt.pm @@ -217,18 +217,12 @@ sub ask_fromW_real { my ($canceled); do { - my $r = do { - local $::setstep = 1; - $form->RunForm; - }; + my $r = $form->RunForm; $canceled = $cancel && $$r == $$cancel; if (my ($button) = grep { $$r == ${$_->{w}} } @widgets) { $get_all->(); - my $v = do { - local $::setstep = 1; - $button->{e}{clicked_may_quit}(); - }; + my $v = $button->{e}{clicked_may_quit}(); $form->FormDestroy; Newt::PopWindow(); return $v || &ask_fromW; -- cgit v1.2.1