diff options
author | Till Kamppeter <tkamppeter@mandriva.com> | 2003-09-02 15:00:59 +0000 |
---|---|---|
committer | Till Kamppeter <tkamppeter@mandriva.com> | 2003-09-02 15:00:59 +0000 |
commit | 63641bd57691a4649731de6c30958cb3715a66db (patch) | |
tree | de1920e13b1f86bd1fab2fb8752c5d6c3f3ad75c | |
parent | 261d3cb4652fd2ed70613a0ef9a5a5d9daf15b5c (diff) | |
download | drakx-63641bd57691a4649731de6c30958cb3715a66db.tar drakx-63641bd57691a4649731de6c30958cb3715a66db.tar.gz drakx-63641bd57691a4649731de6c30958cb3715a66db.tar.bz2 drakx-63641bd57691a4649731de6c30958cb3715a66db.tar.xz drakx-63641bd57691a4649731de6c30958cb3715a66db.zip |
Prevent main window crash when queue list gets empty by deleting all
print queues.
-rwxr-xr-x | perl-install/standalone/printerdrake | 2 |
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 { |