mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Fixes for last commit
This commit is contained in:
parent
7438413fb6
commit
6b7fbb54f7
@ -34,7 +34,7 @@ namespace Wabbajack
|
||||
public string Location { get; set; }
|
||||
|
||||
[Reactive]
|
||||
public bool UIReady { get; set; }
|
||||
public bool UIReady { get; set; } = true;
|
||||
|
||||
[Reactive]
|
||||
public string AuthorName { get; set; }
|
||||
|
@ -1,9 +1,11 @@
|
||||
using Alphaleonis.Win32.Filesystem;
|
||||
using ReactiveUI;
|
||||
using ReactiveUI.Fody.Helpers;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Linq;
|
||||
using System.Reactive.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Wabbajack.Common;
|
||||
@ -19,8 +21,15 @@ namespace Wabbajack.UI
|
||||
[Reactive]
|
||||
public ModlistMetadata SelectedModList { get; set; }
|
||||
|
||||
[Reactive]
|
||||
public bool CanInstall { get; set; }
|
||||
private readonly ObservableAsPropertyHelper<bool> _CanInstall;
|
||||
public bool CanInstall => _CanInstall.Value;
|
||||
|
||||
public ModeSelectionWindowVM()
|
||||
{
|
||||
this._CanInstall = this.WhenAny(x => x.SelectedModList)
|
||||
.Select(x => x != null)
|
||||
.ToProperty(this, nameof(this.CanInstall));
|
||||
}
|
||||
|
||||
internal string Download()
|
||||
{
|
||||
|
@ -41,7 +41,7 @@ namespace Wabbajack
|
||||
public bool ShowNSFW { get; set; }
|
||||
|
||||
[Reactive]
|
||||
public bool GCAfterUpdating { get; set; }
|
||||
public bool GCAfterUpdating { get; set; } = true;
|
||||
|
||||
[Reactive]
|
||||
public bool Enable { get; set; } = true;
|
||||
|
Loading…
Reference in New Issue
Block a user