aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/gui.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2010-03-04 12:41:29 +0000
committerThierry Vignaud <tv@mandriva.org>2010-03-04 12:41:29 +0000
commitec57316d32af29f5371536d15a4f56a437126031 (patch)
tree80a189a8d35bc085346841803bd2c328daad2c26 /Rpmdrake/gui.pm
parent5ec98e2937eca70d5477b3c019c46fb68897d212 (diff)
downloadrpmdrake-ec57316d32af29f5371536d15a4f56a437126031.tar
rpmdrake-ec57316d32af29f5371536d15a4f56a437126031.tar.gz
rpmdrake-ec57316d32af29f5371536d15a4f56a437126031.tar.bz2
rpmdrake-ec57316d32af29f5371536d15a4f56a437126031.tar.xz
rpmdrake-ec57316d32af29f5371536d15a4f56a437126031.zip
(toggle_nodes) fix for a crash (#56144)
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r--Rpmdrake/gui.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 4898fe08..f54dea8a 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -839,6 +839,7 @@ sub toggle_nodes {
scroll => 1,
);
foreach (@cant) {
+ next unless $pkgs->{$_}{pkg};
$pkgs->{$_}{pkg}->set_flag_requested(0);
$pkgs->{$_}{pkg}->set_flag_required(0);
}