mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-27 01:29:58 +01:00
[apps/calculation] Enable to recompute calculation in history
Change-Id: I6ad431ac4bd712acb48c7dc609846112a7fcb3e4
This commit is contained in:
@@ -66,9 +66,8 @@ bool HistoryController::handleEvent(Ion::Events::Event event) {
|
||||
} else {
|
||||
char outputText[Calculation::k_maximalExpressionTextLength];
|
||||
calculation->output()->writeTextInBuffer(outputText, Calculation::k_maximalExpressionTextLength);
|
||||
/* TODO: this will work when we will parse float */
|
||||
//App * calculationApp = (App *)app();
|
||||
//newCalculation.setContent(outputText, calculationApp->localContext());
|
||||
App * calculationApp = (App *)app();
|
||||
newCalculation.setContent(outputText, calculationApp->localContext());
|
||||
}
|
||||
m_selectableTableView.deselectTable();
|
||||
m_calculationStore->push(&newCalculation);
|
||||
|
||||
Reference in New Issue
Block a user