Corrected event hook. Set up later event looking.

Related to issue #873
This commit is contained in:
Travis Nickles 2019-10-27 20:44:56 -05:00
parent f0c0c51096
commit df743f3f59

View File

@ -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)