From df743f3f59d2355174385573138975f64d7e29a9 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Sun, 27 Oct 2019 20:44:56 -0500 Subject: [PATCH] Corrected event hook. Set up later event looking. Related to issue #873 --- DS4Windows/DS4Forms/Options.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DS4Windows/DS4Forms/Options.cs b/DS4Windows/DS4Forms/Options.cs index 41241e5..d874de8 100644 --- a/DS4Windows/DS4Forms/Options.cs +++ b/DS4Windows/DS4Forms/Options.cs @@ -160,8 +160,6 @@ namespace DS4Windows.Forms CustomCurveChecker(); - SetupEvents(); - tp.SetToolTip(RoundnessNUpDown, Properties.Resources.SquareStickRoundness); tp.SetToolTip(RoundnessRsNUD, Properties.Resources.SquareStickRoundness); } @@ -332,7 +330,7 @@ namespace DS4Windows.Forms // Axis Config Events nUDLS.ValueChanged += numUDLS_ValueChanged; nUDLSMaxZone.ValueChanged += nUDLSMaxZone_ValueChanged; - nUDLSAntiDead.ValueChanged += nUDLSMaxZone_ValueChanged; + nUDLSAntiDead.ValueChanged += nUDLSAntiDead_ValueChanged; nUDLSS.ValueChanged += nUDLSSens_ValueChanged; lsOutCurveComboBox.SelectedIndexChanged += lsOutCurveComboBox_SelectedIndexChanged; lsSquStickCk.Click += lsSquStickCk_Click; @@ -1199,6 +1197,8 @@ namespace DS4Windows.Forms lVActions.ItemCheck += new ItemCheckEventHandler(this.lVActions_ItemCheck); loading = false; saving = false; + + SetupEvents(); } public void LoadActions(bool newp)