From 4418146f8553c670be2548ad4e5c1d024e91e2ad Mon Sep 17 00:00:00 2001 From: Renaud G Date: Wed, 1 Apr 2020 00:48:15 +0200 Subject: New Api for string result subclass dice result. --- node/occurencecountnode.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'node/occurencecountnode.cpp') diff --git a/node/occurencecountnode.cpp b/node/occurencecountnode.cpp index f82fa35..5140d19 100644 --- a/node/occurencecountnode.cpp +++ b/node/occurencecountnode.cpp @@ -148,7 +148,8 @@ void OccurenceCountNode::runForStringResult(const std::map& mapO else result= QObject::tr("No matching result"); - m_stringResult->setText(QStringLiteral("%1 - [%2]").arg(result).arg(resultList.join(','))); + m_stringResult->addText(QStringLiteral("%1 - [%2]").arg(result).arg(resultList.join(','))); + m_stringResult->finished(); } void OccurenceCountNode::runForDiceResult(const std::map& mapOccurence) { -- cgit v1.2.3-70-g09d2