TAStudio: Fix crash when ctrl+clicking with no previous row selected.

This commit is contained in:
J.D. Purcell 2019-11-03 10:51:18 -05:00
parent 94935bc45e
commit fae50bc807
1 changed files with 1 additions and 0 deletions

View File

@ -625,6 +625,7 @@ namespace BizHawk.Client.EmuHawk
}
else if (Control.ModifierKeys == Keys.Shift && Control.ModifierKeys != Keys.Alt)
{
if (!TasView.AnyRowsSelected) return;
int firstSel = TasView.SelectedRows.First();
if (frame <= firstSel)