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