summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/printerdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/printerdrake b/perl-install/standalone/printerdrake
index 3d739d1d2..a22970379 100755
--- a/perl-install/standalone/printerdrake
+++ b/perl-install/standalone/printerdrake
@@ -404,7 +404,7 @@ sub set_selection_on_first {
$model = $rtree_model;
}
my $iter = $model->get_iter_first();
- $tree->get_selection->select_iter($iter);
+ $tree->get_selection->select_iter($iter) if $iter;
}
sub set_selection {