From f1c0c197dcc2e3e93cc81287d5254e3bc105c90c Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Wed, 24 Nov 2004 14:38:40 +0000 Subject: Fix bug 12428 : rpmdrake wasn't saving properly the advanced tree sort mode displayed in the combo box --- rpmdrake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rpmdrake b/rpmdrake index d187aea2..bae39952 100755 --- a/rpmdrake +++ b/rpmdrake @@ -842,6 +842,7 @@ or you already installed all of them.")); my $radio_by; $options->{tree_submode} ||= $advanced_modes[0][0]; + $options->{tree_subflat} ||= $advanced_modes[0][2]; each_index { if ($_ eq 'by') { $radio_by = $modes_buttons[$::i]; @@ -862,6 +863,8 @@ or you already installed all of them.")); $t->get_model->set($iter, 0, $m->[1]); } $t->set_active($active); + $options->{tree_submode} = $advanced_modes[$active][0]; + $options->{tree_subflat} = $advanced_modes[$active][2]; $t->signal_connect( changed => sub { my $act = $t->get_active; -- cgit v1.2.1