diff options
Diffstat (limited to 'pkg/gui/tags_panel.go')
-rw-r--r-- | pkg/gui/tags_panel.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/gui/tags_panel.go b/pkg/gui/tags_panel.go index 2ce52d54a..7ea810e09 100644 --- a/pkg/gui/tags_panel.go +++ b/pkg/gui/tags_panel.go @@ -40,9 +40,7 @@ func (gui *Gui) handleCreateTag() error { }) } -// tag-specific handlers -// view model would need to raise an event called 'tag selected', perhaps containing a tag. The listener would _be_ the main view, or the main context, and it would be able to render to itself. -func (gui *Gui) handleTagSelect() error { +func (gui *Gui) tagsRenderToMain() error { var task updateTask tag := gui.getSelectedTag() if tag == nil { @@ -85,6 +83,8 @@ func (gui *Gui) withSelectedTag(f func(tag *models.Tag) error) func() error { } } +// tag-specific handlers + func (gui *Gui) handleCheckoutTag(tag *models.Tag) error { if err := gui.handleCheckoutRef(tag.Name, handleCheckoutRefOptions{span: gui.Tr.Spans.CheckoutTag}); err != nil { return err |