ensure that Tastudio is fully updated when doing cut/paste operations, should really fix #1956 this time
This commit is contained in:
parent
2254098b9c
commit
3e8bad74a2
|
@ -490,15 +490,13 @@ namespace BizHawk.Client.EmuHawk
|
|||
GoToLastEmulatedFrameIfNecessary(rollbackFrame);
|
||||
DoAutoRestore();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
FullRefresh();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void PasteInsertMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
@ -533,15 +531,13 @@ namespace BizHawk.Client.EmuHawk
|
|||
GoToLastEmulatedFrameIfNecessary(TasView.FirstSelectedIndex.Value);
|
||||
DoAutoRestore();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
FullRefresh();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void CutMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
@ -576,12 +572,10 @@ namespace BizHawk.Client.EmuHawk
|
|||
GoToLastEmulatedFrameIfNecessary(rollBackFrame);
|
||||
DoAutoRestore();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
FullRefresh();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void ClearFramesMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
@ -604,12 +598,10 @@ namespace BizHawk.Client.EmuHawk
|
|||
GoToLastEmulatedFrameIfNecessary(rollBackFrame);
|
||||
DoAutoRestore();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
FullRefresh();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void DeleteFramesMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
@ -632,12 +624,10 @@ namespace BizHawk.Client.EmuHawk
|
|||
GoToLastEmulatedFrameIfNecessary(rollBackFrame);
|
||||
DoAutoRestore();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
FullRefresh();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void CloneFramesMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
@ -658,12 +648,10 @@ namespace BizHawk.Client.EmuHawk
|
|||
GoToLastEmulatedFrameIfNecessary(insertionFrame);
|
||||
DoAutoRestore();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
FullRefresh();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void InsertFrameMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
@ -679,12 +667,10 @@ namespace BizHawk.Client.EmuHawk
|
|||
GoToLastEmulatedFrameIfNecessary(insertionFrame);
|
||||
DoAutoRestore();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
FullRefresh();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void InsertNumFramesMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
@ -692,8 +678,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
{
|
||||
int insertionFrame = TasView.FirstSelectedIndex ?? 0;
|
||||
using var framesPrompt = new FramesPrompt();
|
||||
DialogResult result = framesPrompt.ShowDialog();
|
||||
if (result == DialogResult.OK)
|
||||
if (framesPrompt.ShowDialog().IsOk())
|
||||
{
|
||||
InsertNumFrames(insertionFrame, framesPrompt.Frames);
|
||||
}
|
||||
|
@ -714,12 +699,10 @@ namespace BizHawk.Client.EmuHawk
|
|||
{
|
||||
GoToFrame(rollbackFrame);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
FullRefresh();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void SetMarkersMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue