aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/gui.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r--Rpmdrake/gui.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 9dcb3bf4..34c65b1f 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -875,7 +875,7 @@ sub toggle_nodes {
#- not upgradable (older than what currently installed)
exists $pkgs->{$_} or next;
if (!$pkgs->{$_}{pkg}) { #- can't be removed # FIXME; what about next packages in the loop?
- $pkgs->{$_}{selected} = 0;
+ undef $pkgs->{$_}{selected};
log::explanations("can't be removed: $_");
} else {
$pkgs->{$_}{selected} = $new_state;