diff options
| author | 2018-05-31 14:42:19 +0200 | |
|---|---|---|
| committer | 2018-05-31 14:42:19 +0200 | |
| commit | a16c3814e81502f1ff97b68ecf8ab5498bca7095 (patch) | |
| tree | 7328575f24db1893119be01c691e493da535c480 /node/helpnode.cpp | |
| parent | a8d1ec21a93d970ce9329cab4899f7df4fb587b3 (diff) | |
| download | OneRoll-a16c3814e81502f1ff97b68ecf8ab5498bca7095.tar.gz OneRoll-a16c3814e81502f1ff97b68ecf8ab5498bca7095.zip | |
to be tested
to be tested
Diffstat (limited to 'node/helpnode.cpp')
| -rw-r--r-- | node/helpnode.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/node/helpnode.cpp b/node/helpnode.cpp index a6b3c93..bdaf90e 100644 --- a/node/helpnode.cpp +++ b/node/helpnode.cpp @@ -32,7 +32,15 @@ void HelpNode::run(ExecutionNode* previous) if((nullptr == previous)&&(txtResult != nullptr)) { - txtResult->setText(QObject::tr("Rolisteam Dice Parser:\nFull documentation at: %1").arg(m_path)); + txtResult->setText(QObject::tr("Rolisteam Dice Parser:\n" + "\n" + "Example (with ! as prefix):\n" + "!2d6" + "!1d20" + "\n" + "Operator list:\n" + "\n" + "Full documentation at: %1").arg(m_path)); m_result->setPrevious(nullptr); } else if(nullptr != previous) |