diff options
Diffstat (limited to 'pkg/gui/files_panel.go')
-rw-r--r-- | pkg/gui/files_panel.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/files_panel.go b/pkg/gui/files_panel.go index 1d20f54d9..f9312930c 100644 --- a/pkg/gui/files_panel.go +++ b/pkg/gui/files_panel.go @@ -32,7 +32,7 @@ func (gui *Gui) selectFile(alreadySelected bool) error { file := gui.getSelectedFile() if file == nil { - return gui.refreshMain(refreshMainOpts{ + return gui.refreshMainViews(refreshMainOpts{ main: &viewUpdateOpts{ title: "", task: gui.createRenderStringTask(gui.Tr.SLocalize("NoChangedFiles")), @@ -74,7 +74,7 @@ func (gui *Gui) selectFile(alreadySelected bool) error { refreshOpts.main.title = gui.Tr.SLocalize("StagedChanges") } - return gui.refreshMain(refreshOpts) + return gui.refreshMainViews(refreshOpts) } func (gui *Gui) refreshFiles() error { |