Skip to content

Commit

Permalink
manager: fix Refresh action not running the queued tasks right away
Browse files Browse the repository at this point in the history
  • Loading branch information
cfillion committed Dec 14, 2017
1 parent 3ab3acf commit 1c75bb9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 1c75bb9

Please sign in to comment.