Tastudio Branches - Fix null reference excepting when navigating after branch load

This commit is contained in:
adelikat 2015-07-25 16:36:36 -04:00
parent 3ffd7a528f
commit aeccf2e310
1 changed files with 3 additions and 1 deletions

View File

@ -487,8 +487,10 @@ namespace BizHawk.Client.EmuHawk
_floatEditYPos = -1; _floatEditYPos = -1;
_leftButtonHeld = false; _leftButtonHeld = false;
if (_floatEditRow == -1) if (_floatEditRow == -1 && CurrentTasMovie.ChangeLog != null)
{
CurrentTasMovie.ChangeLog.EndBatch(); CurrentTasMovie.ChangeLog.EndBatch();
}
} }
private void TasView_MouseUp(object sender, MouseEventArgs e) private void TasView_MouseUp(object sender, MouseEventArgs e)