From 123e6a20c02f367c30bb3560b7031f71ff5c2e15 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Tue, 22 Aug 2017 21:13:01 -0500 Subject: [PATCH] Minor tweak --- DS4Windows/DS4Forms/Options.cs | 5 +++++ 1 file changed, 5 insertions(+) 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(); } }