diff --git a/ShareX/Forms/ApplicationSettingsForm.Designer.cs b/ShareX/Forms/ApplicationSettingsForm.Designer.cs index cd606182e..b640b3b25 100644 --- a/ShareX/Forms/ApplicationSettingsForm.Designer.cs +++ b/ShareX/Forms/ApplicationSettingsForm.Designer.cs @@ -33,6 +33,7 @@ private void InitializeComponent() System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ApplicationSettingsForm)); this.tcSettings = new System.Windows.Forms.TabControl(); this.tpGeneral = new System.Windows.Forms.TabPage(); + this.cbAutoCheckUpdate = new System.Windows.Forms.CheckBox(); this.cbUseWhiteShareXIcon = new System.Windows.Forms.CheckBox(); this.btnCheckDevBuild = new System.Windows.Forms.Button(); this.cbCheckPreReleaseUpdates = new System.Windows.Forms.CheckBox(); @@ -181,7 +182,6 @@ private void InitializeComponent() this.tpAdvanced = new System.Windows.Forms.TabPage(); this.pgSettings = new System.Windows.Forms.PropertyGrid(); this.tttvMain = new ShareX.HelpersLib.TabToTreeView(); - this.cbAutoCheckUpdate = new System.Windows.Forms.CheckBox(); this.tcSettings.SuspendLayout(); this.tpGeneral.SuspendLayout(); this.tpTheme.SuspendLayout(); @@ -259,6 +259,13 @@ private void InitializeComponent() resources.ApplyResources(this.tpGeneral, "tpGeneral"); this.tpGeneral.Name = "tpGeneral"; // + // cbAutoCheckUpdate + // + resources.ApplyResources(this.cbAutoCheckUpdate, "cbAutoCheckUpdate"); + this.cbAutoCheckUpdate.Name = "cbAutoCheckUpdate"; + this.cbAutoCheckUpdate.UseVisualStyleBackColor = true; + this.cbAutoCheckUpdate.CheckedChanged += new System.EventHandler(this.cbAutoCheckUpdate_CheckedChanged); + // // cbUseWhiteShareXIcon // resources.ApplyResources(this.cbUseWhiteShareXIcon, "cbUseWhiteShareXIcon"); @@ -1416,13 +1423,6 @@ private void InitializeComponent() this.tttvMain.TreeViewSize = 175; this.tttvMain.TabChanged += new ShareX.HelpersLib.TabToTreeView.TabChangedEventHandler(this.tttvMain_TabChanged); // - // cbAutoCheckUpdate - // - resources.ApplyResources(this.cbAutoCheckUpdate, "cbAutoCheckUpdate"); - this.cbAutoCheckUpdate.Name = "cbAutoCheckUpdate"; - this.cbAutoCheckUpdate.UseVisualStyleBackColor = true; - this.cbAutoCheckUpdate.CheckedChanged += new System.EventHandler(this.cbAutoCheckUpdate_CheckedChanged); - // // ApplicationSettingsForm // resources.ApplyResources(this, "$this"); diff --git a/ShareX/Forms/ApplicationSettingsForm.cs b/ShareX/Forms/ApplicationSettingsForm.cs index d2340fed7..a783708a8 100644 --- a/ShareX/Forms/ApplicationSettingsForm.cs +++ b/ShareX/Forms/ApplicationSettingsForm.cs @@ -133,6 +133,7 @@ private void UpdateControls() else { cbAutoCheckUpdate.Checked = Program.Settings.AutoCheckUpdate; + cbCheckPreReleaseUpdates.Enabled = Program.Settings.AutoCheckUpdate; cbCheckPreReleaseUpdates.Checked = Program.Settings.CheckPreReleaseUpdates; } #endif @@ -449,6 +450,7 @@ private void btnEditQuickTaskMenu_Click(object sender, EventArgs e) private void cbAutoCheckUpdate_CheckedChanged(object sender, EventArgs e) { Program.Settings.AutoCheckUpdate = cbAutoCheckUpdate.Checked; + cbCheckPreReleaseUpdates.Enabled = Program.Settings.AutoCheckUpdate; } private void cbCheckPreReleaseUpdates_CheckedChanged(object sender, EventArgs e) diff --git a/ShareX/Forms/ApplicationSettingsForm.resx b/ShareX/Forms/ApplicationSettingsForm.resx index 6ad54866c..bf790940b 100644 --- a/ShareX/Forms/ApplicationSettingsForm.resx +++ b/ShareX/Forms/ApplicationSettingsForm.resx @@ -130,13 +130,13 @@ 16, 248 - 162, 17 + 177, 17 - 20 + 16 - Automatically check updates + Automatically check for updates cbAutoCheckUpdate @@ -163,7 +163,7 @@ 134, 17 - 19 + 8 Use white ShareX icon @@ -190,7 +190,7 @@ 288, 23 - 17 + 18 Install dev build... @@ -220,7 +220,7 @@ 168, 17 - 16 + 17 Check for pre-release updates @@ -244,7 +244,7 @@ 288, 21 - 15 + 14 cbTrayMiddleClickAction @@ -271,7 +271,7 @@ 125, 13 - 12 + 13 On tray icon middle click: @@ -295,7 +295,7 @@ 288, 21 - 14 + 12 cbTrayLeftDoubleClickAction @@ -346,7 +346,7 @@ 288, 21 - 13 + 10 cbTrayLeftClickAction @@ -373,7 +373,7 @@ 109, 13 - 10 + 9 On tray icon left click: @@ -400,7 +400,7 @@ 288, 23 - 9 + 15 Edit quick task menu... @@ -430,7 +430,7 @@ 96, 17 - 3 + 2 Show tray icon @@ -460,7 +460,7 @@ 150, 17 - 5 + 4 Show progress in tray icon @@ -535,7 +535,7 @@ 180, 17 - 7 + 6 Remember main window position @@ -565,7 +565,7 @@ 136, 17 - 4 + 3 Minimize to tray on start @@ -595,7 +595,7 @@ 178, 17 - 6 + 5 Show progress in taskbar button @@ -625,7 +625,7 @@ 162, 17 - 8 + 7 Remember main window size