aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/helpnode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/helpnode.cpp')
-rw-r--r--node/helpnode.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/node/helpnode.cpp b/node/helpnode.cpp
index 7748012..af1b2fd 100644
--- a/node/helpnode.cpp
+++ b/node/helpnode.cpp
@@ -31,7 +31,7 @@ void HelpNode::run(ExecutionNode* previous)
if((nullptr == previous) && (txtResult != nullptr))
{
- txtResult->setText(QObject::tr("Rolisteam Dice Parser:\n"
+ txtResult->addText(QObject::tr("Rolisteam Dice Parser:\n"
"\n"
"Example (with ! as prefix):\n"
"!2d6\n"
@@ -100,9 +100,10 @@ void HelpNode::run(ExecutionNode* previous)
}
else if(nullptr != previous)
{
- txtResult->setText(previous->getHelp());
+ txtResult->addText(previous->getHelp());
m_result->setPrevious(previous->getResult());
}
+ txtResult->finished();
if(nullptr != m_nextNode)
{