TAStudio: don't select branch when none exists

-closes #3967
This commit is contained in:
Morilli 2024-07-12 06:03:14 +02:00
parent 616437ff31
commit c5820f0c0f
1 changed files with 5 additions and 2 deletions

View File

@ -480,8 +480,11 @@ namespace BizHawk.Client.EmuHawk
{
if (SelectedBranch == null)
{
Select(Branches.Current, true);
BranchView.Refresh();
if (Branches.Current != -1)
{
Select(Branches.Current, true);
BranchView.Refresh();
}
return;
}