Skip to content

Commit

Permalink
TAStudio: don't select branch when none exists
Browse files Browse the repository at this point in the history
-closes #3967
  • Loading branch information
Morilli committed Jul 12, 2024
1 parent 616437f commit c5820f0
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -480,8 +480,11 @@ public void SelectBranchExternal(bool next)
{
if (SelectedBranch == null)
{
Select(Branches.Current, true);
BranchView.Refresh();
if (Branches.Current != -1)
{
Select(Branches.Current, true);
BranchView.Refresh();
}
return;
}

Expand Down

0 comments on commit c5820f0

Please sign in to comment.