Commit 69a34c89 authored by LianaHus's avatar LianaHus Committed by ioedeveloper

expand the folder when added

parent 18f762ed
...@@ -136,6 +136,7 @@ function fileExplorer (localRegistry, files, menuItems) { ...@@ -136,6 +136,7 @@ function fileExplorer (localRegistry, files, menuItems) {
if (!fileTree) return if (!fileTree) return
fileTree = normalize(folderpath, fileTree) fileTree = normalize(folderpath, fileTree)
self.treeView.updateNodeFromJSON(folderpath, fileTree, true) self.treeView.updateNodeFromJSON(folderpath, fileTree, true)
self.treeview.expand(folderpath)
}) })
}) })
} }
......
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