mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
MO2 compiler target path saving was missing
This commit is contained in:
parent
fd94df0f10
commit
80f96433bc
@ -1,4 +1,4 @@
|
||||
using ReactiveUI;
|
||||
using ReactiveUI;
|
||||
using ReactiveUI.Fody.Helpers;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
@ -150,6 +150,7 @@ namespace Wabbajack
|
||||
|
||||
// Load settings
|
||||
var settings = parent.MWVM.Settings.Compiler.MO2Compilation;
|
||||
this.ModlistLocation.TargetPath = settings.LastCompiledProfileLocation;
|
||||
if (!string.IsNullOrWhiteSpace(settings.DownloadLocation))
|
||||
{
|
||||
this.DownloadLocation.TargetPath = settings.DownloadLocation;
|
||||
@ -158,6 +159,7 @@ namespace Wabbajack
|
||||
.Subscribe(_ =>
|
||||
{
|
||||
settings.DownloadLocation = this.DownloadLocation.TargetPath;
|
||||
settings.LastCompiledProfileLocation = this.ModlistLocation.TargetPath;
|
||||
this.ModlistSettings?.Save();
|
||||
})
|
||||
.DisposeWith(this.CompositeDisposable);
|
||||
|
Loading…
Reference in New Issue
Block a user