Bugfix for download path re-filling itself undesirably

This commit is contained in:
Justin Swanson 2019-11-23 18:40:18 -06:00
parent df62c2ff8c
commit 4e0f061e05

View File

@ -182,6 +182,8 @@ namespace Wabbajack
.FilterSwitch(
this.WhenAny(x => x.DownloadLocation.Exists)
.Invert())
// A skip is needed to ignore the initial signal when the FilterSwitch turns on
.Skip(1)
.Subscribe(_ =>
{
DownloadLocation.TargetPath = MO2Compiler.GetTypicalDownloadsFolder(Mo2Folder);