aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/helpnode.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2015-03-03 22:57:16 +0100
committerRenaud G <renaud@rolisteam.org>2015-03-03 22:57:16 +0100
commit9f57feb3052ef74c9ee6aa08b39f04ee61f6839c (patch)
tree7628e1e7138d8314f1d87dc939a991dd5cf039ad /node/helpnode.cpp
parentd51884f5c6ea38f3bf06b3a0ef185056fa0a7558 (diff)
downloadOneRoll-9f57feb3052ef74c9ee6aa08b39f04ee61f6839c.tar.gz
OneRoll-9f57feb3052ef74c9ee6aa08b39f04ee61f6839c.zip
-store pointeur to previous node.
Diffstat (limited to 'node/helpnode.cpp')
-rw-r--r--node/helpnode.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/node/helpnode.cpp b/node/helpnode.cpp
index a46d29a..9a0504e 100644
--- a/node/helpnode.cpp
+++ b/node/helpnode.cpp
@@ -6,6 +6,7 @@ HelpNode::HelpNode()
}
void HelpNode::run(ExecutionNode* previous)
{
+ m_previousNode = previous;
StringResult* txtResult = dynamic_cast<StringResult*>(m_result);
qDebug() << m_result->hasResultOfType(Result::SCALAR) << m_result->hasResultOfType(Result::STRING);