summaryrefslogtreecommitdiffstats
path: root/pkg/gui/remote_branches_panel.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-03-27 19:12:15 +1100
committerJesse Duffield <jessedduffield@gmail.com>2020-03-28 11:59:45 +1100
commit198d237679bcc19655138f76a11770c3ef91ec4f (patch)
treeecc09e91f96baeaf75d437f5fbd00e007d4c6472 /pkg/gui/remote_branches_panel.go
parent39315ca1e2f526911ea35d9848b0427093e4080a (diff)
more centralised handling of refreshing
Diffstat (limited to 'pkg/gui/remote_branches_panel.go')
-rw-r--r--pkg/gui/remote_branches_panel.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/remote_branches_panel.go b/pkg/gui/remote_branches_panel.go
index ffc353de4..69628e6f9 100644
--- a/pkg/gui/remote_branches_panel.go
+++ b/pkg/gui/remote_branches_panel.go
@@ -126,7 +126,7 @@ func (gui *Gui) handleSetBranchUpstream(g *gocui.Gui, v *gocui.View) error {
return err
}
- return gui.refreshSidePanels(gui.g)
+ return gui.refreshSidePanels(refreshOptions{scope: []int{BRANCHES, REMOTES}})
}, nil)
}