Commit a421b617 authored by filip mertens's avatar filip mertens Committed by davidzagi93@gmail.com

changed event for refresh

parent 2dcd88c6
...@@ -134,8 +134,8 @@ class FileManager extends Plugin { ...@@ -134,8 +134,8 @@ class FileManager extends Plugin {
*/ */
refresh () { refresh () {
const provider = this.fileProviderOf('/') const provider = this.fileProviderOf('/')
// emit folderAdded so that File Explorer reloads the file tree // emit rootFolderChanged so that File Explorer reloads the file tree
provider.event.emit('folderAdded', '/') provider.event.emit('rootFolderChanged')
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment