diff options
Diffstat (limited to 'node/scalaroperatornode.cpp')
| -rw-r--r-- | node/scalaroperatornode.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/node/scalaroperatornode.cpp b/node/scalaroperatornode.cpp index ceb59ab..8172de7 100644 --- a/node/scalaroperatornode.cpp +++ b/node/scalaroperatornode.cpp @@ -194,7 +194,10 @@ qint64 ScalarOperatorNode::getPriority() const } void ScalarOperatorNode::generateDotTree(QString& s) { - s.append(toString(true)); + auto id = toString(true); + if(s.contains(id)) + return; + s.append(id); s.append(";\n"); if(nullptr!=m_nextNode) |