summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/ugtk2.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index 1558bb9b3..f4ba5a7c6 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -747,8 +747,8 @@ sub new {
$o->{pop_it} ||= $pop_it || $::WizardTable && do {
my @l = $::WizardTable->get_children;
- shift @l if !$::isInstall; #- don't take into account the DrawingArea
- @l > 1 || @l && $l[-1]->visible;
+ pop @l if !$::isInstall; #- don't take into account the DrawingArea
+ @l && $l[-1]->visible;
};
if ($::isWizard && !$o->{pop_it}) {