diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-16 09:18:57 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-23 14:29:18 +1000 |
commit | cec4cb48cb8d4ba6ed3def0194f4443a1fc51cbd (patch) | |
tree | abcfe3d76003ef36b1c66a1b5c4d784ecb6d2b89 /pkg/gui/files_panel.go | |
parent | b211a14a661f3c8bb9387196aff68701bf971ab4 (diff) |
centralise some list view code
Diffstat (limited to 'pkg/gui/files_panel.go')
-rw-r--r-- | pkg/gui/files_panel.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/pkg/gui/files_panel.go b/pkg/gui/files_panel.go index 3aff8c3da..37918067d 100644 --- a/pkg/gui/files_panel.go +++ b/pkg/gui/files_panel.go @@ -652,8 +652,3 @@ func (gui *Gui) handleStashChanges(g *gocui.Gui, v *gocui.View) error { func (gui *Gui) handleCreateResetToUpstreamMenu(g *gocui.Gui, v *gocui.View) error { return gui.createResetMenu("@{upstream}") } - -func (gui *Gui) onFilesPanelSearchSelect(selectedLine int) error { - gui.State.Panels.Files.SelectedLine = selectedLine - return gui.focusAndSelectFile() -} |