mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Added missing ModListName property
This commit is contained in:
parent
e0974a5fc0
commit
da518c7bec
@ -79,6 +79,9 @@ namespace Wabbajack
|
||||
private readonly ObservableAsPropertyHelper<string> _ProgressTitle;
|
||||
public string ProgressTitle => _ProgressTitle.Value;
|
||||
|
||||
private readonly ObservableAsPropertyHelper<string> _ModListName;
|
||||
public string ModListName => _ModListName.Value;
|
||||
|
||||
// Command properties
|
||||
public IReactiveCommand BeginCommand { get; }
|
||||
public IReactiveCommand ShowReportCommand { get; }
|
||||
@ -188,6 +191,9 @@ namespace Wabbajack
|
||||
this.WhenAny(x => x.Installing),
|
||||
resultSelector: (modList, mod, installing) => installing ? mod : modList)
|
||||
.ToProperty(this, nameof(this.Description));
|
||||
this._ModListName = this.WhenAny(x => x.ModList)
|
||||
.Select(x => x?.Name)
|
||||
.ToProperty(this, nameof(this.ModListName));
|
||||
|
||||
this._LocationError = this.WhenAny(x => x.Location)
|
||||
.Select(x => Utils.IsDirectoryPathValid(x))
|
||||
|
Loading…
Reference in New Issue
Block a user