[apps/calcualtions] In calculation, fix isEmpty method

Change-Id: I3a03450a4d4f102f0915d3de1deb7715907acf06
This commit is contained in:
Émilie Feral
2017-05-30 13:32:05 +02:00
parent 5754ea3c85
commit 2286de8fcd

View File

@@ -91,7 +91,7 @@ ExpressionLayout * Calculation::outputLayout(Context * context) {
}
bool Calculation::isEmpty() {
if (strlen(m_inputText) == 0) {
if (strlen(m_outputText) == 0) {
return true;
}
return false;