[apps/shared] Use better warning message

This commit is contained in:
Léa Saviot
2018-06-11 15:26:55 +02:00
parent 9ed4e55d57
commit a46a059f8b

View File

@@ -301,7 +301,7 @@ bool StoreController::privateFillColumnWithFormula(Expression * formula, Express
// Compute the new value using the formula
double evaluation = formula->approximateToScalar<double>(*store);
if (std::isnan(evaluation) || std::isinf(evaluation)) {
app()->displayWarning(I18n::Message::UndefinedValue);
app()->displayWarning(I18n::Message::NonCompliantFormula);
return false;
}
}