Fix name
This commit is contained in:
		@@ -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))
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user