aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2018-02-08 01:20:58 +0100
committerRenaud G <renaud@rolisteam.org>2018-02-08 01:20:58 +0100
commitc91825765ec899f1c6260b914ecb785a071699ba (patch)
tree67a05c4fa3862dee73d63c1541cf674b98ba7cb0
parentfa2f7c9db19330315754ebecb935f4e4f9af948a (diff)
downloadOneRoll-c91825765ec899f1c6260b914ecb785a071699ba.tar.gz
OneRoll-c91825765ec899f1c6260b914ecb785a071699ba.zip
-fix list of alias
-rw-r--r--node/listaliasnode.cpp15
1 files changed, 4 insertions, 11 deletions
diff --git a/node/listaliasnode.cpp b/node/listaliasnode.cpp
index 642f601..764d156 100644
--- a/node/listaliasnode.cpp
+++ b/node/listaliasnode.cpp
@@ -31,17 +31,10 @@ void ListAliasNode::run(ExecutionNode* previous )
StringResult* txtResult = dynamic_cast<StringResult*>(m_result);
txtResult->setHighLight(false);
- if(nullptr != previous)
- {
- if(previous->getResult() == nullptr)
- {
- txtResult->setText(buildList());
-
- }
- else
- {
- txtResult->setText(previous->getHelp());
- }
+ txtResult->setText(buildList());
+ if(nullptr != previous)
+ {
+ //txtResult->setText(previous->getHelp());
m_result->setPrevious(previous->getResult());
}