Tastudio - fix NRE when running a .tasproj through the normal movie system, making changes, then opening tastudio
This commit is contained in:
parent
a84213562f
commit
51df281d38
|
@ -104,7 +104,7 @@ namespace BizHawk.Client.EmuHawk
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
_autosaveTimer.Stop();
|
_autosaveTimer?.Stop();
|
||||||
GlobalWin.Sound.StopSound();
|
GlobalWin.Sound.StopSound();
|
||||||
MessageStatusLabel.Text = "Saving...";
|
MessageStatusLabel.Text = "Saving...";
|
||||||
Cursor = Cursors.WaitCursor;
|
Cursor = Cursors.WaitCursor;
|
||||||
|
@ -112,7 +112,7 @@ namespace BizHawk.Client.EmuHawk
|
||||||
CurrentTasMovie.Save();
|
CurrentTasMovie.Save();
|
||||||
if (Settings.AutosaveInterval > 0)
|
if (Settings.AutosaveInterval > 0)
|
||||||
{
|
{
|
||||||
_autosaveTimer.Start();
|
_autosaveTimer?.Start();
|
||||||
}
|
}
|
||||||
|
|
||||||
MessageStatusLabel.Text = $"{CurrentTasMovie.Name} saved.";
|
MessageStatusLabel.Text = $"{CurrentTasMovie.Name} saved.";
|
||||||
|
|
Loading…
Reference in New Issue