tastudio: branches.
- update inputroll after branch operations - properly remove BranchStates units - don't load current branch
This commit is contained in:
parent
9df7a4d31b
commit
b31c43321b
BizHawk.Client.Common/movie/tasproj
BizHawk.Client.EmuHawk/tools/TAStudio
|
@ -795,7 +795,7 @@ namespace BizHawk.Client.Common
|
|||
|
||||
stateList.Remove(identifier);
|
||||
if (stateList.Count == 0)
|
||||
BranchStates[kvp.Key] = null;
|
||||
BranchStates.Remove(kvp.Key);
|
||||
}
|
||||
//branches--;
|
||||
//if (currentBranch <= _movie.BranchCount)
|
||||
|
|
|
@ -128,9 +128,13 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
private void LoadSelectedBranch()
|
||||
{
|
||||
int index = BranchView.SelectedRows.First();
|
||||
if (CurrentBranch == index)
|
||||
return;
|
||||
|
||||
if (SelectedBranch != null)
|
||||
{
|
||||
CurrentBranch = BranchView.SelectedRows.First();
|
||||
CurrentBranch = index;
|
||||
BranchView.Refresh();
|
||||
LoadBranch(SelectedBranch);
|
||||
}
|
||||
|
@ -167,6 +171,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
}
|
||||
|
||||
BranchView.Refresh();
|
||||
Tastudio.RefreshDialog();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -290,6 +295,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
{
|
||||
Movie.UpdateBranch(branch, CreateBranch());
|
||||
BranchView.Refresh();
|
||||
Tastudio.RefreshDialog();
|
||||
}
|
||||
|
||||
private void BranchView_MouseDown(object sender, MouseEventArgs e)
|
||||
|
|
Loading…
Reference in New Issue