aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-09 20:32:11 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-09 20:32:11 +0000
commit4df6967b912b9c212c4a38ef83bf61e23d2fd322 (patch)
tree0e299a87fd0fb4de83eb2522f34803d21b5463f9 /Rpmdrake
parent81abc3704b416b0bf23bc8420cdf900e60304b26 (diff)
downloadrpmdrake-4df6967b912b9c212c4a38ef83bf61e23d2fd322.tar
rpmdrake-4df6967b912b9c212c4a38ef83bf61e23d2fd322.tar.gz
rpmdrake-4df6967b912b9c212c4a38ef83bf61e23d2fd322.tar.bz2
rpmdrake-4df6967b912b9c212c4a38ef83bf61e23d2fd322.tar.xz
rpmdrake-4df6967b912b9c212c4a38ef83bf61e23d2fd322.zip
(toggle_all) fix crashing when selecting all packages (#40025)
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/gui.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 837627bd..c966898b 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -380,7 +380,7 @@ sub toggle_all {
#- not all is selected, select all if no option to potentially override
(exists $common->{partialsel_unsel} && $common->{partialsel_unsel}->(\@unsel, \@l) ? difference2(\@l, \@unsel) : @unsel)
: @l;
- toggle_nodes($w->{detail_list}->window, $w->{detail_list_model}, \&set_leaf_state, undef, @p);
+ toggle_nodes($w->{detail_list}->window, $w->{detail_list_model}, \&set_leaf_state, node_state($p[0]), @p);
update_size($common);
}