aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/gui.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 51262b56..f1ac09f3 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -960,7 +960,8 @@ sub _build_tree {
# better loop on packages, create groups tree and push packages in the proper place:
foreach my $pkg (@elems) {
my $grp = $pkg->[1];
- add_parent($grp);
+ # no state for groups (they're not packages and thus have no state)
+ add_parent($grp, undef);
$elems->{$grp} ||= [];
push @{$elems->{$grp}}, $pkg;
}