summaryrefslogtreecommitdiffstats
path: root/pkg/gui/files_panel.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2021-03-21 10:07:38 +1100
committerJesse Duffield <jessedduffield@gmail.com>2021-03-30 21:57:00 +1100
commit6fc3c03c4b7ffb216c753ac62e609687cfe2bed9 (patch)
tree2cc577c1138c712b1aca10d054fed8dba95d9fc3 /pkg/gui/files_panel.go
parent46b79c7c61b718644e0d31f533c6e15a95475245 (diff)
allow configuring to show file tree on startup
Diffstat (limited to 'pkg/gui/files_panel.go')
-rw-r--r--pkg/gui/files_panel.go2
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