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; }