Don't call OnCommitSuccess in handleReword

All this does is clear the preserved commit message; however, we open the commit
message panel with PreserveMessage: false when rewording, so this is not
necessary.
This commit is contained in:
Stefan Haller 2025-02-28 13:00:09 +01:00
parent ddc14ef674
commit 41a7afb105

View file

@ -422,7 +422,6 @@ func (self *LocalCommitsController) handleReword(summary string, description str
if err != nil {
return err
}
self.c.Helpers().Commits.OnCommitSuccess()
return self.c.Refresh(types.RefreshOptions{Mode: types.ASYNC})
}