diff options
author | Birger Skogeng Pedersen <birger.sp@gmail.com> | 2022-01-20 16:02:03 +0100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-01-21 23:13:39 +1100 |
commit | ab84410b4155bcee73ead0e2a7510924575b1323 (patch) | |
tree | 8597dc967788059d10da581f11af75e712b1dde8 /pkg/gui | |
parent | a78cbf48821e426cea93825254c9aec5e91e9eef (diff) |
check returned error (if any) from UpdateWindowTitle
Diffstat (limited to 'pkg/gui')
-rw-r--r-- | pkg/gui/gui.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go index 6e3c4c955..50291c8bf 100644 --- a/pkg/gui/gui.go +++ b/pkg/gui/gui.go @@ -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 } |