diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-03-21 10:07:38 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-03-30 21:57:00 +1100 |
commit | 6fc3c03c4b7ffb216c753ac62e609687cfe2bed9 (patch) | |
tree | 2cc577c1138c712b1aca10d054fed8dba95d9fc3 /pkg/gui/files_panel.go | |
parent | 46b79c7c61b718644e0d31f533c6e15a95475245 (diff) |
allow configuring to show file tree on startup
Diffstat (limited to 'pkg/gui/files_panel.go')
-rw-r--r-- | pkg/gui/files_panel.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/files_panel.go b/pkg/gui/files_panel.go index 4e207f84a..01ae3b14b 100644 --- a/pkg/gui/files_panel.go +++ b/pkg/gui/files_panel.go @@ -840,7 +840,7 @@ func (gui *Gui) handleToggleFileTreeView() error { if node != nil { path = node.Path } - gui.State.StatusLineManager.TreeMode = !gui.State.StatusLineManager.TreeMode + gui.State.StatusLineManager.ShowTree = !gui.State.StatusLineManager.ShowTree gui.State.StatusLineManager.SetTree() // find that same node in the new format and move the cursor to it |