summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r--perl-install/ugtk2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index 47d657209..04a4786f1 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -541,7 +541,7 @@ sub create_okcancel {
$bprev = gtknew('Label') if !$cancel && $::Wizard_no_previous && !@left && !@right;
if ($::isWizard || $w->{pop_it}) {
# wizard mode: order is cancel/left_extras/white/right_extras/prev/next
- unshift @left, $w->{wizcancel} if !$::isInstall;
+ unshift @left, $w->{wizcancel} if $w->{wizcancel};
push @right, $bprev, $bok;
} else {
# normal mode: cancel/ok button follow GNOME's HIG