fix wrong setting state

This commit is contained in:
qhy040404
2024-02-12 11:29:25 +08:00
parent ae1b452697
commit 6594d9032d

View File

@@ -167,13 +167,13 @@ internal sealed partial class SettingViewModel : Abstraction.ViewModel
if (await dialog.ConfirmAsync(SH.ViewPageSettingIsAdvancedLaunchOptionsEnabledHeader).ConfigureAwait(true))
{
launchOptions.IsAdvancedLaunchOptionsEnabled = true;
OnPropertyChanged(nameof(IsAllocConsoleDebugModeEnabled));
OnPropertyChanged(nameof(IsAdvancedLaunchOptionsEnabled));
return;
}
}
launchOptions.IsAdvancedLaunchOptionsEnabled = false;
OnPropertyChanged(nameof(IsAllocConsoleDebugModeEnabled));
OnPropertyChanged(nameof(IsAdvancedLaunchOptionsEnabled));
}
}
}