Commit f7be6e1e authored by guinux's avatar guinux

fix #108

parent bb6f38b4
......@@ -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 {
......
......@@ -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 = "";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment