summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive/newt.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-12-09 20:32:25 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-12-09 20:32:25 +0000
commit8ce48e0454f969b01ea6ff1b3c670e3891c08c48 (patch)
tree3caaebffb58679771ac69688066e9c65b2c8a92b /perl-install/interactive/newt.pm
parentebdb9def9a22b8509321b7dd8c271bceb9d73c62 (diff)
downloaddrakx-8ce48e0454f969b01ea6ff1b3c670e3891c08c48.tar
drakx-8ce48e0454f969b01ea6ff1b3c670e3891c08c48.tar.gz
drakx-8ce48e0454f969b01ea6ff1b3c670e3891c08c48.tar.bz2
drakx-8ce48e0454f969b01ea6ff1b3c670e3891c08c48.tar.xz
drakx-8ce48e0454f969b01ea6ff1b3c670e3891c08c48.zip
remove code handling setstep
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;