Tastudio - fix a null reference exception

This commit is contained in:
adelikat 2014-08-31 17:15:21 +00:00
parent 1b6d873fb1
commit f5059bf53c
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ namespace BizHawk.Client.EmuHawk
return;
}
if (TasView.CurrentCell.RowIndex.HasValue && TasView.CurrentCell.Column != null)
if (TasView.CurrentCell != null && TasView.CurrentCell.RowIndex.HasValue && TasView.CurrentCell.Column != null)
{
if (e.Button == MouseButtons.Left)
{