aboutsummaryrefslogtreecommitdiff
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/dirlist.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/dirlist.go b/widgets/dirlist.go
index d66ae1f..58108ff 100644
--- a/widgets/dirlist.go
+++ b/widgets/dirlist.go
@@ -65,7 +65,7 @@ func (dirlist *DirectoryList) Select(name string) {
switch msg.(type) {
case *types.Error:
dirlist.selecting = ""
- default:
+ case *types.Done:
dirlist.selected = dirlist.selecting
}
dirlist.Invalidate()