diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-19 22:27:31 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-23 14:29:18 +1000 |
commit | 2855b5b4d5eb757c4b6eb359b862ebb6fa9dffb4 (patch) | |
tree | ce92927024043ab4037e9ee5055a712fca54f247 /pkg/gui/files_panel.go | |
parent | 419cb9feb84d98633e5a5b15776b4956c5068a58 (diff) |
standardise diffmode
Diffstat (limited to 'pkg/gui/files_panel.go')
-rw-r--r-- | pkg/gui/files_panel.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/pkg/gui/files_panel.go b/pkg/gui/files_panel.go index 440c0675c..0015c563c 100644 --- a/pkg/gui/files_panel.go +++ b/pkg/gui/files_panel.go @@ -30,10 +30,6 @@ func (gui *Gui) getSelectedFile() *commands.File { func (gui *Gui) selectFile(alreadySelected bool) error { gui.getFilesView().FocusPoint(0, gui.State.Panels.Files.SelectedLine) - if gui.inDiffMode() { - return gui.renderDiff() - } - file := gui.getSelectedFile() if file == nil { return gui.refreshMain(refreshMainOpts{ |