diff options
author | Thierry Vignaud <tv@mandriva.org> | 2010-03-04 12:41:29 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2010-03-04 12:41:29 +0000 |
commit | ec57316d32af29f5371536d15a4f56a437126031 (patch) | |
tree | 80a189a8d35bc085346841803bd2c328daad2c26 /Rpmdrake/gui.pm | |
parent | 5ec98e2937eca70d5477b3c019c46fb68897d212 (diff) | |
download | rpmdrake-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.pm | 1 |
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); } |