mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-10-31 13:03:20 -07:00
enhance: clean search filter when open Welcome page by closing the last opened repository tab
This commit is contained in:
parent
d9ba6bc5ec
commit
4f8ccc4563
1 changed files with 1 additions and 0 deletions
|
@ -145,6 +145,7 @@ namespace SourceGit.ViewModels
|
|||
Models.AutoFetchManager.Instance.RemoveRepository(repo.FullPath);
|
||||
repo.Close();
|
||||
|
||||
Welcome.Instance.ClearSearchFilter();
|
||||
last.Node = new RepositoryNode() { Id = Guid.NewGuid().ToString() };
|
||||
last.Data = Welcome.Instance;
|
||||
last.Popup = null;
|
||||
|
|
Loading…
Reference in a new issue