diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-09-30 08:27:23 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-10-02 08:09:42 +1000 |
commit | 7b4a0f20b26d884cb756f09bc7514e57941709d4 (patch) | |
tree | 89fe1962fd3bc4b2b8a58b41eef15191839df909 /pkg/gui/layout.go | |
parent | 3b93b5dde410fbed657f04c16d6b89c80c5be861 (diff) |
add submodules context
Diffstat (limited to 'pkg/gui/layout.go')
-rw-r--r-- | pkg/gui/layout.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/gui/layout.go b/pkg/gui/layout.go index 2aa01c6a7..e27a46457 100644 --- a/pkg/gui/layout.go +++ b/pkg/gui/layout.go @@ -285,8 +285,10 @@ func (gui *Gui) layout(g *gocui.Gui) error { listContext *ListContext } + // TODO: don't we already have the view included in the context object itself? Or might that change in a way we don't want reflected here? listContextStates := []listContextState{ {view: filesView, listContext: gui.filesListContext()}, + {view: filesView, listContext: gui.submodulesListContext()}, {view: branchesView, listContext: gui.branchesListContext()}, {view: branchesView, listContext: gui.remotesListContext()}, {view: branchesView, listContext: gui.remoteBranchesListContext()}, |