ui: Show nodes with more than 20 children initially collapsed (issue #509)

This commit is contained in:
Eberhard Graether
2017-11-08 21:43:09 +01:00
parent 17a1f7eac9
commit 0e7dc3242d
2 changed files with 9 additions and 2 deletions
@@ -631,7 +631,7 @@ void GraphController::autoExpandActiveNode(const std::vector<Id>& activeTokenIds
node = getDummyGraphNodeById(activeTokenIds[0]);
}
if (node)
if (node && !node->hasMissingChildNodes())
{
node->expanded = true;
node->autoExpanded = true;