diff options
author | Cristian Betivu <cbetivu@gmail.com> | 2021-06-06 14:59:09 +0200 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-06-16 15:00:17 +1000 |
commit | 0c2d90a4448dd24127b4a21fa6b959f494cdeaa3 (patch) | |
tree | 34b44b31526c34da5e5a59019c03ddbef43ccfab /pkg/gui/view_helpers.go | |
parent | d65c0188758f51be0bd8824c451be63114f4e07a (diff) |
Add comment
Diffstat (limited to 'pkg/gui/view_helpers.go')
-rw-r--r-- | pkg/gui/view_helpers.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/gui/view_helpers.go b/pkg/gui/view_helpers.go index 4f42bfc18..d85d4e3a7 100644 --- a/pkg/gui/view_helpers.go +++ b/pkg/gui/view_helpers.go @@ -398,6 +398,8 @@ func getTabbedView(gui *Gui) *gocui.View { if v == nil { return nil } + // if the action is invoked via the Options menu, + // we need to execute it against the parent view if v.Name() == "menu" { v = v.ParentView } |