From b2637753952cf121e51f4401f740f1fe234f1757 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Mon, 13 Aug 2018 01:09:11 -0500 Subject: [PATCH] Tweak --- DS4Windows/DS4Forms/DS4Form.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/DS4Windows/DS4Forms/DS4Form.cs b/DS4Windows/DS4Forms/DS4Form.cs index 4a7dd6c..538674d 100644 --- a/DS4Windows/DS4Forms/DS4Form.cs +++ b/DS4Windows/DS4Forms/DS4Form.cs @@ -1536,17 +1536,12 @@ Properties.Resources.DS4Update, MessageBoxButtons.YesNo, MessageBoxIcon.Question toolStrip1.Visible = true; toolStrip1.Enabled = true; lbLastMessage.ForeColor = SystemColors.GrayText; - int lvDebugItemCount = lvDebug.Items.Count; - if (lvDebugItemCount > 0) - { - lbLastMessage.Text = lvDebug.Items[lvDebugItemCount - 1].SubItems[1].Text; - } opt.inputtimer.Stop(); opt.sixaxisTimer.Stop(); opt.Dock = DockStyle.None; tabProfiles.Controls.Remove(opt); - optPop = false; + optPop = false; opt = null; lBProfiles.Visible = true; }