reapack

Package manager for REAPER
Log | Files | Refs | Submodules | README | LICENSE

commit 1dd9e9f5ff61789bb1718965309301c4828b3b45
parent f1fdeb67eb72cb3241b824878a91c4b25a2d66f4
Author: cfillion <cfillion@users.noreply.github.com>
Date:   Fri,  8 Apr 2016 23:20:53 -0700

browser: don't update the list twice when only synchronous tasks are ran

Diffstat:
Msrc/browser.cpp | 3++-
Msrc/reapack.hpp | 1+
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/browser.cpp b/src/browser.cpp @@ -762,7 +762,8 @@ void Browser::apply() m_actions.clear(); m_reapack->runTasks(); - fillList(); // update state column + if(m_reapack->isRunning()) + fillList(); // update state column } auto Browser::Entry::hash() const -> Hash diff --git a/src/reapack.hpp b/src/reapack.hpp @@ -82,6 +82,7 @@ public: const IndexesCallback &, HWND parent, bool stale = false); void runTasks(); + bool isRunning() const { return m_transaction != nullptr; } Config *config() const { return m_config; }