1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-28 16:02:01 +03:00

make fields private

This commit is contained in:
Jesse Duffield
2021-03-21 15:28:18 +11:00
parent e7af3bf55d
commit 1ea78c7ae7
3 changed files with 30 additions and 25 deletions

View File

@ -840,8 +840,8 @@ func (gui *Gui) handleToggleFileTreeView() error {
if node != nil {
path = node.Path
}
gui.State.FileChangeManager.ShowTree = !gui.State.FileChangeManager.ShowTree
gui.State.FileChangeManager.SetTree()
gui.State.FileChangeManager.ToggleShowTree()
// find that same node in the new format and move the cursor to it
if path != "" {