aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/dirlist.go
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/dirlist.go')
-rw-r--r--widgets/dirlist.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/dirlist.go b/widgets/dirlist.go
index 70550394..0f8431e9 100644
--- a/widgets/dirlist.go
+++ b/widgets/dirlist.go
@@ -131,7 +131,7 @@ func (dirlist *DirectoryList) UpdateList(done func(dirs []string)) {
dirlist.spinner.Stop()
dirlist.Invalidate()
if done != nil {
- done(dirs)
+ done(dirlist.dirs)
}
}
})