summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive/newt.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/interactive/newt.pm')
-rw-r--r--perl-install/interactive/newt.pm10
1 files changed, 2 insertions, 8 deletions
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;