fix #108
This commit is contained in:
parent
bb6f38b4f4
commit
f7be6e1e88
@ -17,7 +17,7 @@
|
|||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* 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 {
|
namespace Pamac {
|
||||||
|
|
||||||
|
@ -1176,12 +1176,18 @@ namespace Pamac {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void on_refresh_finished (bool success) {
|
void on_refresh_finished (bool success) {
|
||||||
database_modified = true;
|
|
||||||
this.success = success;
|
this.success = success;
|
||||||
clear_lists ();
|
clear_lists ();
|
||||||
if (success) {
|
if (success) {
|
||||||
finish_transaction ();
|
// database is modified
|
||||||
|
alpm_utils.reload ();
|
||||||
|
finished (success);
|
||||||
|
if (mode == Mode.UPDATER) {
|
||||||
|
progress_dialog.hide ();
|
||||||
|
}
|
||||||
|
success = false;
|
||||||
} else {
|
} else {
|
||||||
|
database_modified = true;
|
||||||
handle_error (get_current_error ());
|
handle_error (get_current_error ());
|
||||||
}
|
}
|
||||||
previous_filename = "";
|
previous_filename = "";
|
||||||
|
Loading…
Reference in New Issue
Block a user