diff options
Diffstat (limited to 'pkg/gui/global_handlers.go')
-rw-r--r-- | pkg/gui/global_handlers.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/pkg/gui/global_handlers.go b/pkg/gui/global_handlers.go index 380704fbc..04f7efb61 100644 --- a/pkg/gui/global_handlers.go +++ b/pkg/gui/global_handlers.go @@ -181,10 +181,6 @@ func (gui *Gui) handleRefresh() error { } func (gui *Gui) handleMouseDownMain() error { - if gui.popupPanelFocused() { - return nil - } - switch gui.currentSideContext() { case gui.State.Contexts.Files: // set filename, set primary/secondary selected, set line number, then switch context @@ -199,10 +195,6 @@ func (gui *Gui) handleMouseDownMain() error { } func (gui *Gui) handleMouseDownSecondary() error { - if gui.popupPanelFocused() { - return nil - } - switch gui.g.CurrentView() { case gui.Views.Files: return gui.Controllers.Files.EnterFile(types.OnFocusOpts{ClickedViewName: "secondary", ClickedViewLineIdx: gui.Views.Secondary.SelectedLineIdx()}) |