aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrpmdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index e7204b61..beb7b685 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -425,7 +425,7 @@ sub run_treeview_dialog {
$tree_mode->[0] = $options->{tree_mode} = $rviews{$val};
$tree_flat->[0] = $options->{state}{flat};
reset_search();
- $::main_window->window, sub { switch_pkg_list_mode($rviews{$val}) };
+ switch_pkg_list_mode($rviews{$val});
$options->{rebuild_tree}->();
}
}