diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-19 09:05:43 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-23 14:29:18 +1000 |
commit | 2fdadd383a2609921abd4aeb99e67bd5f1bbc0fc (patch) | |
tree | f52567d882bcf505ef05bfe9efed51eee28157ac /pkg/gui/tags_panel.go | |
parent | 9a2dc3fe150a03ccb4f086b05d8a8249c9e6c37f (diff) |
introduce new approach to handling tab states
Diffstat (limited to 'pkg/gui/tags_panel.go')
-rw-r--r-- | pkg/gui/tags_panel.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/tags_panel.go b/pkg/gui/tags_panel.go index ce696a06c..eb27f916d 100644 --- a/pkg/gui/tags_panel.go +++ b/pkg/gui/tags_panel.go @@ -83,7 +83,7 @@ func (gui *Gui) handleCheckoutTag(g *gocui.Gui, v *gocui.View) error { if err := gui.handleCheckoutRef(tag.Name, handleCheckoutRefOptions{}); err != nil { return err } - return gui.switchBranchesPanelContext("local-branches") + return gui.switchContext(gui.Contexts.Branches.Context) } func (gui *Gui) handleDeleteTag(g *gocui.Gui, v *gocui.View) error { |