From 585cf1416205d21458f2cf01eeb05512c42ff33d Mon Sep 17 00:00:00 2001 From: leo Date: Sun, 25 Aug 2024 18:31:05 +0800 Subject: [PATCH] enhance: new welcome page will clear the search filter before --- src/ViewModels/LauncherPage.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ViewModels/LauncherPage.cs b/src/ViewModels/LauncherPage.cs index 65d5f7a5..4e831dbc 100644 --- a/src/ViewModels/LauncherPage.cs +++ b/src/ViewModels/LauncherPage.cs @@ -28,6 +28,9 @@ namespace SourceGit.ViewModels { _node = new RepositoryNode() { Id = Guid.NewGuid().ToString() }; _data = Welcome.Instance; + + // New welcome page will clear the search filter before. + Welcome.Instance.ClearSearchFilter(); } public LauncherPage(RepositoryNode node, Repository repo)