[solver] ListController: display a pop up when an equation is 'unreal'

This commit is contained in:
Émilie Feral
2018-12-26 18:03:29 +01:00
committed by Léa Saviot
parent 64d6450728
commit 8ac623be08

View File

@@ -182,6 +182,9 @@ void ListController::resolveEquations() {
case EquationStore::Error::EquationUndefined:
app()->displayWarning(I18n::Message::UndefinedEquation);
return;
case EquationStore::Error::EquationUnreal:
app()->displayWarning(I18n::Message::UnrealEquation);
return;
case EquationStore::Error::TooManyVariables:
app()->displayWarning(I18n::Message::TooManyVariables);
return;