aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-09-19 10:59:52 +0000
committerThierry Vignaud <tv@mandriva.org>2006-09-19 10:59:52 +0000
commit688537e93b6cd49db819af740cf1f411490d6150 (patch)
tree1d7138d2a962c0ba907c038e2275430c00313241
parent34816a37fee68d1cd74b7bc9b5293628ab89c351 (diff)
downloadrpmdrake-688537e93b6cd49db819af740cf1f411490d6150.tar
rpmdrake-688537e93b6cd49db819af740cf1f411490d6150.tar.gz
rpmdrake-688537e93b6cd49db819af740cf1f411490d6150.tar.bz2
rpmdrake-688537e93b6cd49db819af740cf1f411490d6150.tar.xz
rpmdrake-688537e93b6cd49db819af740cf1f411490d6150.zip
prevent blank screen after reloading db from menu
-rwxr-xr-xrpmdrake5
1 files changed, 4 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index f2ae2734..6c3297c4 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -1278,7 +1278,10 @@ Do you really want to install all the selected packages?"), yesno => 1)
$options->{rebuild_tree}->();
}, undef, '<Item>' ],
[ N("/_File") . N("/Reload the _packages list"), undef, sub {
- slow_func($::main_window->window, sub { $rmodes{$pkgs_provider->({ skip_updating_mu => 1 }, $options->{tree_mode})} });
+ slow_func($::main_window->window, sub {
+ $force_rebuild = 1;
+ $rmodes{$pkgs_provider->({ skip_updating_mu => 1 }, $options->{tree_mode})};
+ });
$reset_search->();
$size_selected = 0;
$options->{rebuild_tree}->();