1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-15 00:15:32 +02:00

Remove return value of HandleRender

This commit is contained in:
Stefan Haller
2024-09-04 13:17:33 +02:00
parent 5659f1f3e9
commit b91beb68e1
14 changed files with 25 additions and 40 deletions

View File

@ -734,9 +734,7 @@ func (self *BranchesController) rename(branch *models.Branch) error {
for i, newBranch := range self.c.Model().Branches {
if newBranch.Name == newBranchName {
self.context().SetSelection(i)
if err := self.context().HandleRender(); err != nil {
return err
}
self.context().HandleRender()
}
}