commit 9455bb0eb71726dbd82ca0147bc36d6c816786f3 parent e87159854085188a173b139be4c8e81db9ffb8b7 Author: cfillion <cfillion@users.noreply.github.com> Date: Sun, 4 Jun 2017 13:56:05 -0700 api: reduce GUI flicker when AddSetRepository runs a transaction Diffstat:
M | src/api.cpp | | | 10 | ++++++---- |
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/api.cpp b/src/api.cpp @@ -342,12 +342,14 @@ autoInstall: usually set to 2 (obey user setting).)", } if(commit) { - reapack->refreshManager(); - reapack->refreshBrowser(); - reapack->config()->write(); - if(reapack->hasTransaction()) reapack->setupTransaction()->runTasks(); + else { + reapack->refreshManager(); + reapack->refreshBrowser(); + } + + reapack->config()->write(); } return true;