diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-03 13:43:43 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-06 19:34:32 +1000 |
commit | f1d7f59e497a2da9066494d04f26e1ff00a0e4ee (patch) | |
tree | f51b629766de0778f4e6b9cd37f44af9db0edaad /pkg/gui/submodules_panel.go | |
parent | bc9a99387f68afb24863d17ab4d29c1686843a76 (diff) |
switching repos without restarting the gui
Diffstat (limited to 'pkg/gui/submodules_panel.go')
-rw-r--r-- | pkg/gui/submodules_panel.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/submodules_panel.go b/pkg/gui/submodules_panel.go index 8c1bcf76a..65ce2c2d5 100644 --- a/pkg/gui/submodules_panel.go +++ b/pkg/gui/submodules_panel.go @@ -71,7 +71,7 @@ func (gui *Gui) enterSubmodule(submodule *models.SubmoduleConfig) error { if err != nil { return err } - gui.State.RepoPathStack = append(gui.State.RepoPathStack, wd) + gui.RepoPathStack = append(gui.RepoPathStack, wd) return gui.dispatchSwitchToRepo(submodule.Path) } |