From aa35163964fb18ea90608f602a4f5bc45792e8f0 Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sat, 11 Feb 2017 01:32:52 +0100 Subject: fix error --- diceparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'diceparser.cpp') diff --git a/diceparser.cpp b/diceparser.cpp index 4ccc247..8331962 100644 --- a/diceparser.cpp +++ b/diceparser.cpp @@ -185,7 +185,7 @@ bool DiceParser::parseLine(QString str) { return true; } - else if(m_errorMap.isEmpty()) + else if(!m_errorMap.isEmpty()) { m_errorMap.insert(ExecutionNode::NOTHING_UNDERSTOOD,QObject::tr("Nothing was understood")); } -- cgit v1.2.3-70-g09d2