diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-08-23 09:24:37 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-08-23 09:24:37 +0000 |
commit | 6cb0a4063039616a6a13ebc4256e97040f9fd2e2 (patch) | |
tree | 17f6a58eeeb800c5cf3df5a95f404927a12a34e3 | |
parent | f61c5fc6046c383ab1c70bc57c8fab7659be765d (diff) | |
download | rpmdrake-6cb0a4063039616a6a13ebc4256e97040f9fd2e2.tar rpmdrake-6cb0a4063039616a6a13ebc4256e97040f9fd2e2.tar.gz rpmdrake-6cb0a4063039616a6a13ebc4256e97040f9fd2e2.tar.bz2 rpmdrake-6cb0a4063039616a6a13ebc4256e97040f9fd2e2.tar.xz rpmdrake-6cb0a4063039616a6a13ebc4256e97040f9fd2e2.zip |
"changed" signal: don't crash when selecting a sub group and then collapse itsparent
-rwxr-xr-x | rpmdrake | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1001,6 +1001,7 @@ or you already installed all of them.")); ) foreach $tree, $detail_tree; $tree->get_selection->signal_connect(changed => sub { my ($model, $iter) = $_[0]->get_selected; + return if !$iter; my $current_group if 0; my $new_group = $model->get($iter, 0); return if $current_group eq $new_group; |