mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08: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);
|
Models.AutoFetchManager.Instance.RemoveRepository(repo.FullPath);
|
||||||
repo.Close();
|
repo.Close();
|
||||||
|
|
||||||
|
Welcome.Instance.ClearSearchFilter();
|
||||||
last.Node = new RepositoryNode() { Id = Guid.NewGuid().ToString() };
|
last.Node = new RepositoryNode() { Id = Guid.NewGuid().ToString() };
|
||||||
last.Data = Welcome.Instance;
|
last.Data = Welcome.Instance;
|
||||||
last.Popup = null;
|
last.Popup = null;
|
||||||
|
|
Loading…
Reference in a new issue