fix: tab splitter visible issue

This commit is contained in:
leo 2024-06-06 18:25:28 +08:00
parent 5514c56a29
commit 1a18235a76
No known key found for this signature in database
GPG key ID: B528468E49CD0E58

View file

@ -158,6 +158,7 @@ namespace SourceGit.ViewModels
ActivePage = Pages[removeIdx == Pages.Count - 1 ? removeIdx - 1 : removeIdx + 1]; ActivePage = Pages[removeIdx == Pages.Count - 1 ? removeIdx - 1 : removeIdx + 1];
CloseRepositoryInTab(page); CloseRepositoryInTab(page);
Pages.RemoveAt(removeIdx); Pages.RemoveAt(removeIdx);
UpdateTabSplitterVisible();
} }
else if (removeIdx + 1 == activeIdx) else if (removeIdx + 1 == activeIdx)
{ {