set current branch properly in TAStudio movie load
apparently, GoToFrame might frameadvance, which in turn calls UpdateAfter(), which in turns updates the current selected branch in the TasSession with the value of the current movie. So, we need to set the current movie's current branch from the session's value before it gets deleted. - closes #3968
This commit is contained in:
parent
e214b7dc33
commit
f59cfb1710
|
@ -134,6 +134,7 @@ namespace BizHawk.Client.Common
|
|||
try
|
||||
{
|
||||
TasSession = JsonConvert.DeserializeObject<TasSession>(json);
|
||||
Branches.Current = TasSession.CurrentBranch;
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
|
|
@ -558,7 +558,6 @@ namespace BizHawk.Client.EmuHawk
|
|||
SetUpToolStripColumns();
|
||||
|
||||
CurrentTasMovie.PropertyChanged += TasMovie_OnPropertyChanged;
|
||||
CurrentTasMovie.Branches.Current = CurrentTasMovie.TasSession.CurrentBranch;
|
||||
BookMarkControl.UpdateTextColumnWidth();
|
||||
MarkerControl.UpdateTextColumnWidth();
|
||||
// clear all selections
|
||||
|
|
Loading…
Reference in New Issue