mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-19 22:00:28 +01:00
[poincare] Change Context API
Change-Id: I2818866fb41bf73c39396fbd85600e586a79065c
This commit is contained in:
@@ -89,7 +89,7 @@ bool EditExpressionController::textFieldDidReceiveEvent(::TextField * textField,
|
||||
bool EditExpressionController::textFieldDidFinishEditing(::TextField * textField, const char * text) {
|
||||
Calculation calculation = Calculation();
|
||||
App * calculationApp = (App *)app();
|
||||
calculation.setContent(textBody(), calculationApp->evaluateContext());
|
||||
calculation.setContent(textBody(), calculationApp->localContext());
|
||||
m_calculationStore->push(&calculation);
|
||||
m_historyController->reload();
|
||||
m_contentView.mainView()->scrollToCell(0, m_historyController->numberOfRows()-1);
|
||||
|
||||
Reference in New Issue
Block a user