diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2019-03-11 09:28:47 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2019-03-16 10:20:27 +1100 |
commit | 1ad9c6faac18d5a683d631452e6a8f8f9c88b9da (patch) | |
tree | d28fadec1483d4bf269fc1a8af83bed848621ae3 /pkg/gui/commits_panel.go | |
parent | 06fe726ee79d3993d936ae3e064761273b657ae8 (diff) |
minor cleanup
Diffstat (limited to 'pkg/gui/commits_panel.go')
-rw-r--r-- | pkg/gui/commits_panel.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/commits_panel.go b/pkg/gui/commits_panel.go index e1d520be1..0de71e875 100644 --- a/pkg/gui/commits_panel.go +++ b/pkg/gui/commits_panel.go @@ -445,7 +445,7 @@ func (gui *Gui) handleSwitchToCommitFilesPanel(g *gocui.Gui, v *gocui.View) erro return nil } - commitfileView, err := g.View("commit files") + commitfileView, err := g.View("commitFiles") if err != nil { return err } @@ -470,6 +470,6 @@ func (gui *Gui) handleSwitchToCommitFilesPanel(g *gocui.Gui, v *gocui.View) erro }) } - gui.renderString(g, "commit files", files) + gui.renderListPanel(gui.getCommitFilesView(), gui.State.CommitFiles) return gui.switchFocus(g, v, commitfileView) } |