diff --git a/src/main/kotlin/me/msoucy/gbat/models/SummaryModel.kt b/src/main/kotlin/me/msoucy/gbat/models/SummaryModel.kt index 01ab595..2992498 100644 --- a/src/main/kotlin/me/msoucy/gbat/models/SummaryModel.kt +++ b/src/main/kotlin/me/msoucy/gbat/models/SummaryModel.kt @@ -322,6 +322,7 @@ class SummaryModel(val db : Database) { private fun transformNode(tree : MutableMap, dirId : Int) : ProjectTreeNode { val result = ProjectTreeNode() tree[dirId]?.let { dirdict -> + result.name = dirdict.name result.dirs = mutableListOf().apply { dirdict.dirs.forEach { add(transformNode(tree, it))