Null fix in VortexCompilerVM

This commit is contained in:
Justin Swanson 2019-12-14 17:43:54 -06:00
parent e6c98fc3eb
commit bfd5907bc1

View File

@ -80,6 +80,7 @@ namespace Wabbajack
_modListSettings = this.WhenAny(x => x.SelectedGame)
.Select(game =>
{
if (game == null) return null;
var gameSettings = _settings.ModlistSettings.TryCreate(game.Game);
return new ModlistSettingsEditorVM(gameSettings.ModlistSettings);
})