1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-05-17 22:32:58 +02:00

Add comment

This commit is contained in:
Cristian Betivu 2021-06-06 14:59:09 +02:00 committed by Jesse Duffield
parent d65c018875
commit 0c2d90a444

View File

@ -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
}