Skip checked event while updating cbStartWithWindows.Checked

This commit is contained in:
Jaex 2017-10-05 02:58:53 +03:00
parent 1d08ad9164
commit 19705e502a

View file

@ -250,6 +250,8 @@ private void ChangeLanguage(SupportedLanguage language)
private void UpdateStartWithWindows()
{
ready = false;
StartupTaskState state = StartupManagerFactory.StartupManager.State;
cbStartWithWindows.Checked = state == StartupTaskState.Enabled;
if (state == StartupTaskState.DisabledByUser)
@ -257,6 +259,8 @@ private void UpdateStartWithWindows()
cbStartWithWindows.Enabled = false;
lblWindowsStoreStartupStatus.Text = Resources.ApplicationSettingsForm_lblWindowsStoreStartupStatus_DisabledByUser;
}
ready = true;
}
private void UpdateProxyControls()