summaryrefslogtreecommitdiffstats
path: root/pkg/gui/global_handlers.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/global_handlers.go')
-rw-r--r--pkg/gui/global_handlers.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/pkg/gui/global_handlers.go b/pkg/gui/global_handlers.go
index d03723743..e76c9f1a6 100644
--- a/pkg/gui/global_handlers.go
+++ b/pkg/gui/global_handlers.go
@@ -180,15 +180,6 @@ func (gui *Gui) handleRefresh() error {
return gui.c.Refresh(types.RefreshOptions{Mode: types.ASYNC})
}
-func (gui *Gui) handleMouseDownMain() error {
- switch gui.currentSideContext() {
- case gui.State.Contexts.CommitFiles:
- return gui.enterCommitFile(types.OnFocusOpts{ClickedViewName: "main", ClickedViewLineIdx: gui.Views.Main.SelectedLineIdx()})
- }
-
- return nil
-}
-
func (gui *Gui) backgroundFetch() (err error) {
err = gui.git.Sync.Fetch(git_commands.FetchOptions{Background: true})