mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-13 01:30:53 +02:00
allow opening filter menu panel when other popup is open
This commit is contained in:
@ -6,18 +6,14 @@ import (
|
||||
)
|
||||
|
||||
func (gui *Gui) handleCreateFilteringMenuPanel() error {
|
||||
if gui.popupPanelFocused() {
|
||||
return nil
|
||||
}
|
||||
|
||||
fileName := ""
|
||||
switch gui.currentViewName() {
|
||||
case "files":
|
||||
switch gui.currentSideListContext() {
|
||||
case gui.State.Contexts.Files:
|
||||
node := gui.getSelectedFileNode()
|
||||
if node != nil {
|
||||
fileName = node.GetPath()
|
||||
}
|
||||
case "commitFiles":
|
||||
case gui.State.Contexts.CommitFiles:
|
||||
node := gui.getSelectedCommitFileNode()
|
||||
if node != nil {
|
||||
fileName = node.GetPath()
|
||||
|
Reference in New Issue
Block a user