ui: Only bundle importing files when import edge present

This commit is contained in:
Eberhard Graether
2019-01-10 23:13:18 +01:00
parent 08dc7ec98b
commit 2bc90c07bf
@@ -1118,7 +1118,7 @@ void GraphController::bundleNodes()
bundleNodesAndEdgesMatching(
[](const DummyNode::BundleInfo& info, const Node* data)
{
return data->getType().isFile();
return data->getType().isFile() && data->findEdgeOfType(Edge::EDGE_IMPORT);
},
1,
false,