diff options
Diffstat (limited to 'pkg/gui/files_panel.go')
-rw-r--r-- | pkg/gui/files_panel.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/files_panel.go b/pkg/gui/files_panel.go index 5d5d65c8f..765e33e4c 100644 --- a/pkg/gui/files_panel.go +++ b/pkg/gui/files_panel.go @@ -9,7 +9,7 @@ import ( // list panel functions func (gui *Gui) getSelectedFileNode() *filetree.FileNode { - return gui.State.Contexts.Files.GetSelectedFileNode() + return gui.State.Contexts.Files.GetSelected() } func (gui *Gui) getSelectedFile() *models.File { |