diff --git a/BizHawk.Client.EmuHawk/tools/TAStudio/BookmarksBranchesBox.cs b/BizHawk.Client.EmuHawk/tools/TAStudio/BookmarksBranchesBox.cs index 685b6d90a9..3abade72d0 100644 --- a/BizHawk.Client.EmuHawk/tools/TAStudio/BookmarksBranchesBox.cs +++ b/BizHawk.Client.EmuHawk/tools/TAStudio/BookmarksBranchesBox.cs @@ -160,6 +160,11 @@ namespace BizHawk.Client.EmuHawk { if (SelectedBranch != null) { + if (Branches.IndexOf(SelectedBranch) == CurrentBranch) + { + CurrentBranch = -1; + } + Branches.Remove(SelectedBranch); BranchView.RowCount = Branches.Count; BranchView.Refresh();