diff options
Diffstat (limited to 'pkg/gui/line_by_line_panel.go')
-rw-r--r-- | pkg/gui/line_by_line_panel.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/pkg/gui/line_by_line_panel.go b/pkg/gui/line_by_line_panel.go index 7f423f115..56de72426 100644 --- a/pkg/gui/line_by_line_panel.go +++ b/pkg/gui/line_by_line_panel.go @@ -120,15 +120,6 @@ func (gui *Gui) handleMouseDrag() error { }) } -func (gui *Gui) getSelectedCommitFileName() string { - node := gui.State.Contexts.CommitFiles.GetSelectedFileNode() - if node == nil { - return "" - } - - return node.Path -} - func (gui *Gui) refreshMainViewForLineByLine(state *LblPanelState) error { var includedLineIndices []int // I'd prefer not to have knowledge of contexts using this file but I'm not sure |