1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-20 05:19:24 +02:00

check returned error (if any) from UpdateWindowTitle

This commit is contained in:
Birger Skogeng Pedersen 2022-01-20 16:02:03 +01:00 committed by Jesse Duffield
parent a78cbf4882
commit ab84410b41

View File

@ -683,7 +683,9 @@ func (gui *Gui) loadNewRepo() error {
return err
}
gui.OSCommand.UpdateWindowTitle()
if err := gui.OSCommand.UpdateWindowTitle(); err != nil {
return err
}
return nil
}