diff options
Diffstat (limited to 'widgets/dirlist.go')
-rw-r--r-- | widgets/dirlist.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/widgets/dirlist.go b/widgets/dirlist.go index ad5f048c..5c3416c7 100644 --- a/widgets/dirlist.go +++ b/widgets/dirlist.go @@ -191,7 +191,11 @@ func (dirlist *DirectoryList) Select(name string) { } dirlist.sortDirsByFoldersSortConfig() if newStore { - dirlist.worker.PostAction(&types.FetchDirectoryContents{}, nil) + store, ok := dirlist.MsgStore(name) + if ok { + // Fetch directory contents via store.Sort + store.Sort(nil, nil) + } } } dirlist.Invalidate() |