aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-08-23 09:24:37 +0000
committerThierry Vignaud <tv@mandriva.org>2006-08-23 09:24:37 +0000
commit6cb0a4063039616a6a13ebc4256e97040f9fd2e2 (patch)
tree17f6a58eeeb800c5cf3df5a95f404927a12a34e3
parentf61c5fc6046c383ab1c70bc57c8fab7659be765d (diff)
downloadrpmdrake-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-xrpmdrake1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpmdrake b/rpmdrake
index d8e07818..a8b689e4 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -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;