From 5af215b67b999086c89c3fe3be3fc843ff341ee9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20St=C3=B6ggl?= Date: Sun, 1 Mar 2020 11:43:40 +0100 Subject: [PATCH] [CUETools] Fix gray out of setting under Tagging So far, the CheckBox under Advanced Settings: Tagging - "Overwrite CUE data" was only grayed out (enabled/disabled) after clicking OK. The CheckBox should be enabled/disabled immediately as soon as "Fill up missing CUE data from tags" is checked/unchecked. - Add statement to frmSettings.Designer.cs, that wires the event to the event handler for chkFillUpCUE_CheckedChanged() - Remark: The event method calling EnableDisable() has already been there before in frmSettings.cs: private void chkFillUpCUE_CheckedChanged(object sender, EventArgs e) { EnableDisable(); } --- CUETools/frmSettings.Designer.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/CUETools/frmSettings.Designer.cs b/CUETools/frmSettings.Designer.cs index 5105341..3be4794 100644 --- a/CUETools/frmSettings.Designer.cs +++ b/CUETools/frmSettings.Designer.cs @@ -824,6 +824,7 @@ namespace JDP resources.ApplyResources(this.chkFillUpCUE, "chkFillUpCUE"); this.chkFillUpCUE.Name = "chkFillUpCUE"; this.chkFillUpCUE.UseVisualStyleBackColor = true; + this.chkFillUpCUE.CheckedChanged += new System.EventHandler(this.chkFillUpCUE_CheckedChanged); // // tabPage2 //