diff --git a/DS4Windows/DS4Forms/Options.cs b/DS4Windows/DS4Forms/Options.cs index 11bc737..43fedb7 100644 --- a/DS4Windows/DS4Forms/Options.cs +++ b/DS4Windows/DS4Forms/Options.cs @@ -1670,6 +1670,7 @@ namespace DS4Windows public void UpdateLists() { + lBControls.BeginUpdate(); lBControls.Items[0] = "Cross : " + UpdateButtonList(bnCross); lBControls.Items[1] = "Circle : " + UpdateButtonList(bnCircle); lBControls.Items[2] = "Square : " + UpdateButtonList(bnSquare); @@ -1716,6 +1717,8 @@ namespace DS4Windows lbSwipeRight.Text = UpdateButtonList(bnSwipeRight); } + lBControls.EndUpdate(); + lbGyroXN.Text = UpdateButtonList(bnGyroXN); lbGyroZN.Text = UpdateButtonList(bnGyroZN); lbGyroZP.Text = UpdateButtonList(bnGyroZP); @@ -2205,10 +2208,12 @@ namespace DS4Windows } else if (rBTPMouse.Checked && lBControls.Items.Count > 33) { + lBControls.BeginUpdate(); lBControls.Items.RemoveAt(36); lBControls.Items.RemoveAt(35); lBControls.Items.RemoveAt(34); lBControls.Items.RemoveAt(33); + lBControls.EndUpdate(); } }