This commit is contained in:
guinux 2016-03-15 09:27:35 +01:00
parent bb6f38b4f4
commit f7be6e1e88
2 changed files with 9 additions and 3 deletions

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
const string VERSION = "3.2.0";
const string VERSION = "3.2.1";
namespace Pamac {

View File

@ -1176,12 +1176,18 @@ namespace Pamac {
}
void on_refresh_finished (bool success) {
database_modified = true;
this.success = success;
clear_lists ();
if (success) {
finish_transaction ();
// database is modified
alpm_utils.reload ();
finished (success);
if (mode == Mode.UPDATER) {
progress_dialog.hide ();
}
success = false;
} else {
database_modified = true;
handle_error (get_current_error ());
}
previous_filename = "";