mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-06 05:05:42 +13:00
Skip checked event while updating cbStartWithWindows.Checked
This commit is contained in:
parent
1d08ad9164
commit
19705e502a
1 changed files with 4 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue