From 4f8ccc4563c530b2aa385b1ac30b76c2e6b8549a Mon Sep 17 00:00:00 2001 From: leo Date: Sun, 25 Aug 2024 20:51:53 +0800 Subject: [PATCH] enhance: clean search filter when open Welcome page by closing the last opened repository tab --- src/ViewModels/Launcher.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ViewModels/Launcher.cs b/src/ViewModels/Launcher.cs index bd59f8a2..7e5fdad0 100644 --- a/src/ViewModels/Launcher.cs +++ b/src/ViewModels/Launcher.cs @@ -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;