Fix name
This commit is contained in:
parent
e94b2e1d4b
commit
6569ec619a
@ -322,6 +322,7 @@ class SummaryModel(val db : Database) {
|
|||||||
private fun transformNode(tree : MutableMap<Int, ProjectTree>, dirId : Int) : ProjectTreeNode {
|
private fun transformNode(tree : MutableMap<Int, ProjectTree>, dirId : Int) : ProjectTreeNode {
|
||||||
val result = ProjectTreeNode()
|
val result = ProjectTreeNode()
|
||||||
tree[dirId]?.let { dirdict ->
|
tree[dirId]?.let { dirdict ->
|
||||||
|
result.name = dirdict.name
|
||||||
result.dirs = mutableListOf<ProjectTreeNode>().apply {
|
result.dirs = mutableListOf<ProjectTreeNode>().apply {
|
||||||
dirdict.dirs.forEach {
|
dirdict.dirs.forEach {
|
||||||
add(transformNode(tree, it))
|
add(transformNode(tree, it))
|
||||||
|
Loading…
Reference in New Issue
Block a user