diff options
Diffstat (limited to 'pkg/gui/discard_changes_menu_panel.go')
-rw-r--r-- | pkg/gui/discard_changes_menu_panel.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/discard_changes_menu_panel.go b/pkg/gui/discard_changes_menu_panel.go index 0f01ad964..0d3b6989b 100644 --- a/pkg/gui/discard_changes_menu_panel.go +++ b/pkg/gui/discard_changes_menu_panel.go @@ -5,7 +5,7 @@ import ( ) func (gui *Gui) handleCreateDiscardMenu(g *gocui.Gui, v *gocui.View) error { - file, err := gui.getSelectedFile(g) + file, err := gui.getSelectedFile() if err != nil { if err != gui.Errors.ErrNoFiles { return err |