[apps/solver] Do not use symbol context if no solution found

Still replace the functions
This commit is contained in:
Léa Saviot
2020-01-17 11:10:49 +01:00
parent 844a28db7b
commit 0e64e89496
20 changed files with 97 additions and 68 deletions

View File

@@ -102,7 +102,7 @@ bool IntervalController::textFieldDidFinishEditing(TextField * textField, const
void IntervalController::buttonAction() {
StackViewController * stack = stackController();
m_equationStore->approximateSolve(textFieldDelegateApp()->localContext());
m_equationStore->approximateSolve(textFieldDelegateApp()->localContext(), App::app()->solutionsController()->shouldReplaceFuncionsButNotSymbols());
stack->push(App::app()->solutionsControllerStack(), KDColorWhite, Palette::SubTab, Palette::SubTab);
}