diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-17 21:58:30 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-23 14:29:18 +1000 |
commit | ac0eedda91ae20992ad106d98fdd164d4264f6f2 (patch) | |
tree | 1a9f9c8e5dddeb4d8cf9a9fba12bd949fac7c447 /pkg/gui/files_panel.go | |
parent | e87635295a7afde0e82ecee8b820e5708fb2f046 (diff) |
lots more stuff
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 7bb071939..62c2e7cbe 100644 --- a/pkg/gui/files_panel.go +++ b/pkg/gui/files_panel.go @@ -210,10 +210,6 @@ func (gui *Gui) allFilesStaged() bool { } func (gui *Gui) focusAndSelectFile() error { - if _, err := gui.g.SetCurrentView("files"); err != nil { - return err - } - return gui.selectFile(false) } |