summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/interactive.pm')
-rw-r--r--perl-install/interactive.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm
index 14c9eb8f0..d4b331ef5 100644
--- a/perl-install/interactive.pm
+++ b/perl-install/interactive.pm
@@ -74,7 +74,7 @@ sub vnew {
eval { require interactive_gtk };
if (!$@) {
my $o = interactive_gtk->new;
- $icon && $icon != 'default' && !$::isWizard and $o->{icon} = $icon;
+ if ($icon && $icon != 'default' && !$::isWizard) { $o->{icon} = $icon } else { undef $o->{icon} }
return $o;
}
}