mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-17 22:32:58 +02:00
Add comment
This commit is contained in:
parent
d65c018875
commit
0c2d90a444
@ -398,6 +398,8 @@ func getTabbedView(gui *Gui) *gocui.View {
|
|||||||
if v == nil {
|
if v == nil {
|
||||||
return 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" {
|
if v.Name() == "menu" {
|
||||||
v = v.ParentView
|
v = v.ParentView
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user