From 6569ec619a637c53630a6deca27b5652d8bcec8b Mon Sep 17 00:00:00 2001 From: Matt Soucy Date: Fri, 3 Jul 2020 21:26:41 -0400 Subject: [PATCH] Fix name --- src/main/kotlin/me/msoucy/gbat/models/SummaryModel.kt | 1 + 1 file changed, 1 insertion(+) 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))