From 1c75bb9708fb4b71b0c9c820028c5b9b9318f359 Mon Sep 17 00:00:00 2001 From: cfillion Date: Thu, 14 Dec 2017 11:27:08 -0500 Subject: [PATCH] manager: fix Refresh action not running the queued tasks right away --- src/manager.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/manager.cpp b/src/manager.cpp index 9cf56f1a..893fe650 100644 --- a/src/manager.cpp +++ b/src/manager.cpp @@ -404,8 +404,10 @@ void Manager::refreshIndex() for(size_t i = 0; i < selection.size(); i++) remotes[i] = getRemote(selection[i]); - if(Transaction *tx = g_reapack->setupTransaction()) + if(Transaction *tx = g_reapack->setupTransaction()) { tx->fetchIndexes(remotes, true); + tx->runTasks(); + } } void Manager::uninstall()