diff options
-rw-r--r-- | perl-install/ugtk2.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index 3ddf0b56d..5494e0f8e 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -739,7 +739,10 @@ sub new { $o->{rwindow}->set_transient_for($o->{transient}) if $o->{transient}; - $o->{pop_it} ||= $pop_it || $::WizardTable && listlength($::WizardTable->get_children) > ($::isInstall ? 0 : 1); + $o->{pop_it} ||= $pop_it || $::WizardTable && do { + my @l = $::WizardTable->get_children; + @l > ($::isInstall ? 1 : 2) || @l && $l[-1]->visible; + }; if ($::isWizard && !$o->{pop_it}) { $o->{isWizard} = 1; |