Fix cache update (IDEA-CR-32440)

This commit is contained in:
Dmitry Jemerov
2018-05-09 18:10:27 +02:00
parent 08937a482e
commit ba04fac9a9
@@ -23,7 +23,7 @@ class DefaultChangesGroupingPolicy(val project: Project, val model: DefaultTreeM
it.markAsHelperNode() it.markAsHelperNode()
model.insertNodeInto(it, subtreeRoot, subtreeRoot.childCount) model.insertNodeInto(it, subtreeRoot, subtreeRoot.childCount)
CONFLICTS_NODE_CACHE[subtreeRoot] = it CONFLICTS_NODE_CACHE[cachingRoot] = it
TreeModelBuilder.IS_CACHING_ROOT.set(it, true) TreeModelBuilder.IS_CACHING_ROOT.set(it, true)
} }
} }