From 05791f363bbe161ac616d5dbe14f2a3026784f20 Mon Sep 17 00:00:00 2001 From: erri120 Date: Mon, 11 Nov 2019 13:18:37 +0100 Subject: [PATCH] Fixed Begin button never being enabled if installing a Vortex ModList --- Wabbajack/View Models/InstallerVM.cs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Wabbajack/View Models/InstallerVM.cs b/Wabbajack/View Models/InstallerVM.cs index 69c7bb0b..b0fcb911 100644 --- a/Wabbajack/View Models/InstallerVM.cs +++ b/Wabbajack/View Models/InstallerVM.cs @@ -263,12 +263,15 @@ namespace Wabbajack execute: this.ExecuteBegin, canExecute: Observable.CombineLatest( this.WhenAny(x => x.Installing), - this.WhenAny(x => x.Location.InError), - this.WhenAny(x => x.DownloadLocation.InError), - resultSelector: (installing, loc, download) => + this.WhenAny(x => x.LocationError.InError), + this.WhenAny(x => x.DownloadLocationError.InError), + this.WhenAny(x => x.StagingLocationError.InError), + resultSelector: (installing, loc, download, staging) => { if (installing) return false; - return !loc && !download; + if (IsMO2ModList) + return !loc && !download; + return !loc && !staging; }) .ObserveOnGuiThread()); this.VisitWebsiteCommand = ReactiveCommand.Create(