about summary refs log tree commit diff stats
path: root/widgets
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-01-13 16:18:10 -0500
committerDrew DeVault <sir@cmpwn.com>2019-01-13 16:18:10 -0500
commit2750f99a6049322b1361b5bfa4dff3b1df2b36ab (patch)
tree0c18f4a8180f1eda1616c07296d20323edfeab62 /widgets
parentcf664620005cf65d060e689fbb27b939dd3192a7 (diff)
downloadaerc-2750f99a6049322b1361b5bfa4dff3b1df2b36ab.tar.gz
Issue IMAP SELECT command
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()
 }