From 63641bd57691a4649731de6c30958cb3715a66db Mon Sep 17 00:00:00 2001 From: Till Kamppeter Date: Tue, 2 Sep 2003 15:00:59 +0000 Subject: Prevent main window crash when queue list gets empty by deleting all print queues. --- perl-install/standalone/printerdrake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') 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 { -- cgit v1.2.1