From 8bae2a46482d6d0d7252b76c6c09ad17374b71b2 Mon Sep 17 00:00:00 2001 From: feos Date: Wed, 4 Jan 2017 20:16:34 +0300 Subject: [PATCH] tastudio: fix double-click on the empty area throwing an exception --- BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs b/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs index 3f74fbe186..4b55bcbbab 100644 --- a/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs +++ b/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs @@ -721,6 +721,9 @@ namespace BizHawk.Client.EmuHawk private void TasView_MouseDoubleClick(object sender, MouseEventArgs e) { + if (TasView.CurrentCell.Column == null) + return; + if (e.Button == MouseButtons.Left) { var buttonName = TasView.CurrentCell.Column.Name;