mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Fixed Begin button never being enabled if installing a Vortex ModList
This commit is contained in:
parent
4203e394aa
commit
05791f363b
@ -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;
|
||||
if (IsMO2ModList)
|
||||
return !loc && !download;
|
||||
return !loc && !staging;
|
||||
})
|
||||
.ObserveOnGuiThread());
|
||||
this.VisitWebsiteCommand = ReactiveCommand.Create(
|
||||
|
Loading…
Reference in New Issue
Block a user