summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2021-01-17 20:44:20 -0500
committerisanae <14251494+isanae@users.noreply.github.com>2021-01-18 08:21:41 -0500
commit0d641f39776a2d5a1cd217531d3a3e39d3a3c670 (patch)
treed690c5f17547416ab51eef67f53975562a4b5450 /src
parent181acfe832bef26228e33ac3a021d39528b1a4a9 (diff)
make plugins wait until after the refresh is completed when they request a refresh
this is a change in behaviour, but it makes sure plugins don't have a stale view of the mods after running something
Diffstat (limited to 'src')
-rw-r--r--src/organizerproxy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/organizerproxy.cpp b/src/organizerproxy.cpp
index fe3d502c..6a19986f 100644
--- a/src/organizerproxy.cpp
+++ b/src/organizerproxy.cpp
@@ -193,7 +193,7 @@ bool OrganizerProxy::waitForApplication(HANDLE handle, bool refresh, LPDWORD exi
ProcessRunner::WaitFlags waitFlags = ProcessRunner::ForceWait;
if (refresh) {
- waitFlags |= ProcessRunner::TriggerRefresh;
+ waitFlags |= ProcessRunner::TriggerRefresh | ProcessRunner::WaitForRefresh;
}
const auto r = runner