[solver] Display warning when one of the variable name exceeds 10

characters
This commit is contained in:
Émilie Feral
2018-09-27 15:19:14 +02:00
parent c7bc22b5e2
commit 6113f97027
5 changed files with 12 additions and 4 deletions

View File

@@ -179,6 +179,9 @@ void ListController::resolveEquations() {
case EquationStore::Error::TooManyVariables:
app()->displayWarning(I18n::Message::TooManyVariables);
return;
case EquationStore::Error::VariableNameTooLong:
app()->displayWarning(I18n::Message::VariableNameTooLong);
return;
case EquationStore::Error::NonLinearSystem:
app()->displayWarning(I18n::Message::NonLinearSystem);
return;