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 | |
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)
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | Rpmdrake/gui.pm | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -1,3 +1,5 @@ +- fix for a crash (#56144) + Version 5.25 - 3 March 2010, Thierry Vignaud - do not show file list if empty 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); } |