aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake
diff options
context:
space:
mode:
Diffstat (limited to 'rpmdrake')
-rwxr-xr-xrpmdrake4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmdrake b/rpmdrake
index 8647609d..706e64d2 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -637,9 +637,9 @@ sub run_treeview_dialog {
%check_boxes = map {
$_ => $factory->get_widget("<main>" . $get_path->($_));
} ($auto_string, $noclean_string, $NVR_string, $updates_string, $regexp_search_string);
- $check_boxes{$regexp_search_string}->set_active($use_regexp->[0]);
- $check_boxes{$NVR_string}->set_active($NVR_searches->[0]);
if (!$>) {
+ $check_boxes{$regexp_search_string}->set_active($use_regexp->[0]);
+ $check_boxes{$NVR_string}->set_active($NVR_searches->[0]);
$check_boxes{$auto_string}->set_active($::rpmdrake_options{auto});
$check_boxes{$updates_string}->set_active($compute_updates->[0]);
$check_boxes{$noclean_string}->set_active(!$::noclean);