Added missing GUI thread swapover

This commit is contained in:
Justin Swanson 2020-05-12 18:41:39 -05:00
parent 08cf5a6d50
commit 4469cf1fd9

View File

@ -174,6 +174,7 @@ namespace Wabbajack
ProgressPercent = Percent.Zero;
using (var queue = new WorkQueue(1))
using (queue.Status.Select(i => i.ProgressPercent)
.ObserveOnGuiThread()
.Subscribe(percent => ProgressPercent = percent))
{
var tcs = new TaskCompletionSource<bool>();