[apps] Access *DelegateApp() through app()

This commit is contained in:
Ruben Dashyan
2019-06-06 17:01:04 +02:00
committed by EmilieNumworks
parent 2888eddd06
commit 4111927bae
6 changed files with 10 additions and 10 deletions

View File

@@ -211,7 +211,7 @@ bool CalculationController::textFieldShouldFinishEditing(TextField * textField,
bool CalculationController::textFieldDidFinishEditing(TextField * textField, const char * text, Ion::Events::Event event) {
double floatBody;
if (textFieldDelegateApp()->hasUndefinedValue(text, floatBody)) {
if (app()->hasUndefinedValue(text, floatBody)) {
return false;
}
if (m_calculation->type() != Calculation::Type::FiniteIntegral && selectedColumn() == 2) {