[solver] Ignore empty equation when resolving systems

This commit is contained in:
Émilie Feral
2018-06-06 15:08:24 +02:00
parent ac9da8d559
commit 2d580faf51
13 changed files with 51 additions and 50 deletions

View File

@@ -141,7 +141,7 @@ bool ListController::expressionLayoutFieldDidReceiveEvent(ExpressionLayoutField
}
void ListController::resolveEquations() {
if (m_equationStore->numberOfModels() == 0) {
if (m_equationStore->numberOfDefinedModels() == 0) {
app()->displayWarning(I18n::Message::EnterEquation);
return;
}