diff options
| author | 2016-02-04 17:58:00 +0100 | |
|---|---|---|
| committer | 2016-02-04 17:58:00 +0100 | |
| commit | c671d21b54d43dbd6112f3ab50fc6ebd63dc4aef (patch) | |
| tree | 34ad9a7a84e0e71cb45f8b381eccae431ca39d25 /node/ifnode.cpp | |
| parent | c796cef9dbbf48dcaf21dc4f4ea62db2ba4fe629 (diff) | |
| download | OneRoll-c671d21b54d43dbd6112f3ab50fc6ebd63dc4aef.tar.gz OneRoll-c671d21b54d43dbd6112f3ab50fc6ebd63dc4aef.zip | |
Add Management of Color
Diffstat (limited to 'node/ifnode.cpp')
| -rw-r--r-- | node/ifnode.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/node/ifnode.cpp b/node/ifnode.cpp index 864faf1..a8982a8 100644 --- a/node/ifnode.cpp +++ b/node/ifnode.cpp @@ -106,9 +106,16 @@ void IfNode::setInstructionFalse(ExecutionNode* node) m_false = node; } -QString IfNode::toString(bool) const +QString IfNode::toString(bool wl) const { - + if(wl) + { + return QString("%1 [label=\"IfNode\"]").arg(m_id); + } + else + { + return m_id; + } } qint64 IfNode::getPriority() const |