mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.git
synced 2025-11-19 21:02:53 +08:00
fix wrong setting state
This commit is contained in:
@@ -167,13 +167,13 @@ internal sealed partial class SettingViewModel : Abstraction.ViewModel
|
|||||||
if (await dialog.ConfirmAsync(SH.ViewPageSettingIsAdvancedLaunchOptionsEnabledHeader).ConfigureAwait(true))
|
if (await dialog.ConfirmAsync(SH.ViewPageSettingIsAdvancedLaunchOptionsEnabledHeader).ConfigureAwait(true))
|
||||||
{
|
{
|
||||||
launchOptions.IsAdvancedLaunchOptionsEnabled = true;
|
launchOptions.IsAdvancedLaunchOptionsEnabled = true;
|
||||||
OnPropertyChanged(nameof(IsAllocConsoleDebugModeEnabled));
|
OnPropertyChanged(nameof(IsAdvancedLaunchOptionsEnabled));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
launchOptions.IsAdvancedLaunchOptionsEnabled = false;
|
launchOptions.IsAdvancedLaunchOptionsEnabled = false;
|
||||||
OnPropertyChanged(nameof(IsAllocConsoleDebugModeEnabled));
|
OnPropertyChanged(nameof(IsAdvancedLaunchOptionsEnabled));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user