diff options
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | Rpmdrake/gui.pm | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,3 +1,6 @@ +- rpmdrake: + o fix crashing when selecting all packages (#40025) + Version 4.18 - 9 September 2008, Thierry Vignaud - all: 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); } |