summaryrefslogtreecommitdiffstats
path: root/pkg/gui/branches_panel.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-08-19 19:07:14 +1000
committerJesse Duffield <jessedduffield@gmail.com>2020-08-23 14:29:18 +1000
commit2b812b01e9d80409a0bf212eb7208dcdd6f5c974 (patch)
tree4c1b0cd51ba170c92bc38410ec6005373736720b /pkg/gui/branches_panel.go
parent2f5d5034dbe4523c44faa58ba6f30c2fef06c128 (diff)
more standardisation of rendering
Diffstat (limited to 'pkg/gui/branches_panel.go')
-rw-r--r--pkg/gui/branches_panel.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/branches_panel.go b/pkg/gui/branches_panel.go
index a783f49fe..b82301aaa 100644
--- a/pkg/gui/branches_panel.go
+++ b/pkg/gui/branches_panel.go
@@ -76,7 +76,7 @@ func (gui *Gui) refreshBranches() {
}
gui.State.Branches = builder.Build()
- if err := gui.rerenderIfVisible(gui.Contexts.Branches.Context); err != nil {
+ if err := gui.postRefreshUpdate(gui.Contexts.Branches.Context); err != nil {
gui.Log.Error(err)
}