summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakfont
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-12-20 11:42:07 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-12-20 11:42:07 +0100
commit5c5fd3fcb1c2ca689f62f7b29f376bc56feb6d64 (patch)
tree9676beda22fdd88097a95acb944314f946f8a65b /perl-install/standalone/drakfont
parent088e353e011a9b1f30e5d78aeafba3ec1e51854d (diff)
downloaddrakx-5c5fd3fcb1c2ca689f62f7b29f376bc56feb6d64.tar
drakx-5c5fd3fcb1c2ca689f62f7b29f376bc56feb6d64.tar.gz
drakx-5c5fd3fcb1c2ca689f62f7b29f376bc56feb6d64.tar.bz2
drakx-5c5fd3fcb1c2ca689f62f7b29f376bc56feb6d64.tar.xz
drakx-5c5fd3fcb1c2ca689f62f7b29f376bc56feb6d64.zip
fix a crash (mga#12057)
Diffstat (limited to 'perl-install/standalone/drakfont')
-rwxr-xr-xperl-install/standalone/drakfont2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakfont b/perl-install/standalone/drakfont
index c67041263..68e4c67eb 100755
--- a/perl-install/standalone/drakfont
+++ b/perl-install/standalone/drakfont
@@ -633,7 +633,7 @@ sub advanced_install() {
$list->get_selection->set_mode('browse');
$list->set_rules_hint(1);
$model->signal_connect("row-inserted" => sub { $button and $button->set_sensitive(1) });
- $model->signal_connect("row-deleted" => sub { $button and $button->set_sensitive($model->get_iter_first) });
+ $model->signal_connect("row-deleted" => sub { $button and $button->set_sensitive($model->get_iter_first || 0) });
dialog(N("Import fonts"),
[