tastudio: fix double-click on the empty area throwing an exception

This commit is contained in:
feos 2017-01-04 20:16:34 +03:00
parent 9884d47a07
commit 8bae2a4648
1 changed files with 3 additions and 0 deletions

View File

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