diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-09-19 10:59:52 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-09-19 10:59:52 +0000 |
commit | 688537e93b6cd49db819af740cf1f411490d6150 (patch) | |
tree | 1d7138d2a962c0ba907c038e2275430c00313241 | |
parent | 34816a37fee68d1cd74b7bc9b5293628ab89c351 (diff) | |
download | rpmdrake-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-x | rpmdrake | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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}->(); |