commit 1c75bb9708fb4b71b0c9c820028c5b9b9318f359
parent 3ab3acf662e8e0d25acf7f5eca23ba1b0d3073a9
Author: cfillion <cfillion@users.noreply.github.com>
Date: Thu, 14 Dec 2017 11:26:41 -0500
manager: fix Refresh action not running the queued tasks right away
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git 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()