summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive/gtk.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-12-16 13:21:11 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-12-16 13:21:11 +0100
commit6cc2bcd4cf9910461409a57f1429aabeddf51676 (patch)
treeeec463a8bd9d2b20857f330b085a1c8935d54491 /perl-install/interactive/gtk.pm
parent4ff405c965bf8d1c7ee6eabfd2d2a6a96a4346b3 (diff)
downloaddrakx-6cc2bcd4cf9910461409a57f1429aabeddf51676.tar
drakx-6cc2bcd4cf9910461409a57f1429aabeddf51676.tar.gz
drakx-6cc2bcd4cf9910461409a57f1429aabeddf51676.tar.bz2
drakx-6cc2bcd4cf9910461409a57f1429aabeddf51676.tar.xz
drakx-6cc2bcd4cf9910461409a57f1429aabeddf51676.zip
fix a drakx crash (mga#6031)
Diffstat (limited to 'perl-install/interactive/gtk.pm')
-rw-r--r--perl-install/interactive/gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index ca6834f21..6b76b7d40 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -397,7 +397,7 @@ sub create_widget {
}
$w->signal_connect(clicked => $onchange->(sub { $w->get_active }));
${$e->{val}} ||= 0;
- $set = sub { $w->set_active($_[0]) };
+ $set = sub { $w->set_active($_[0] || 0) };
$real_w = add_padding($w);
} elsif ($e->{type} eq 'only_label') {
my @common = (