aboutsummaryrefslogtreecommitdiff
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/directories.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/widgets/directories.go b/widgets/directories.go
index 1602b3c..13018bb 100644
--- a/widgets/directories.go
+++ b/widgets/directories.go
@@ -47,6 +47,7 @@ func (dirlist *DirectoryList) UpdateList(done func(dirs []string)) {
func (dirlist *DirectoryList) Select(name string) {
dirlist.selected = name
+ dirlist.worker.PostAction(&types.OpenDirectory{Directory: name}, nil)
dirlist.Invalidate()
}