From 519d9c770c27d6864f1d00a7b7963f0969e1af53 Mon Sep 17 00:00:00 2001 From: Gadfly Date: Tue, 6 Aug 2024 14:23:47 +0800 Subject: [PATCH] fix: clean SelectedStaged after commit --- src/ViewModels/WorkingCopy.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ViewModels/WorkingCopy.cs b/src/ViewModels/WorkingCopy.cs index 08ee0b2a..e1bbac4d 100644 --- a/src/ViewModels/WorkingCopy.cs +++ b/src/ViewModels/WorkingCopy.cs @@ -1270,6 +1270,7 @@ namespace SourceGit.ViewModels { if (succ) { + SelectedStaged = []; CommitMessage = string.Empty; UseAmend = false;