mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Added short circuit of MO2Installer interventions
So that new active installations replace any old pending queues
This commit is contained in:
parent
672be2e7d0
commit
4c842fe276
@ -10,6 +10,7 @@ using System.Threading.Tasks;
|
||||
using ReactiveUI;
|
||||
using ReactiveUI.Fody.Helpers;
|
||||
using Wabbajack.Common;
|
||||
using Wabbajack.Common.StatusFeed;
|
||||
using Wabbajack.Lib;
|
||||
using Wabbajack.Util;
|
||||
|
||||
@ -105,7 +106,8 @@ namespace Wabbajack
|
||||
.DisposeWith(CompositeDisposable);
|
||||
|
||||
// Hook onto user interventions, and intercept MO2 specific ones for customization
|
||||
this.WhenAny(x => x.ActiveInstallation.LogMessages)
|
||||
this.WhenAny(x => x.ActiveInstallation)
|
||||
.Select(x => x?.LogMessages ?? Observable.Empty<IStatusMessage>())
|
||||
.Switch()
|
||||
.Subscribe(x =>
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user