mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-27 01:29:58 +01:00
[escher] handle syntax error by making some apps text field delegate
Change-Id: I790148c321a5a2944b96cc283491a29260b2ed38
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
|
||||
namespace Calculation {
|
||||
|
||||
EditExpressionController::ContentView::ContentView(TableView * subview) :
|
||||
EditExpressionController::ContentView::ContentView(TableView * subview, TextFieldDelegate * textFieldDelegate) :
|
||||
View(),
|
||||
m_mainView(subview),
|
||||
m_textField(nullptr, m_textBody, 255)
|
||||
m_textField(nullptr, m_textBody, 255, textFieldDelegate)
|
||||
{
|
||||
m_textBody[0] = 0;
|
||||
}
|
||||
@@ -43,9 +43,9 @@ TableView * EditExpressionController::ContentView::mainView() {
|
||||
return m_mainView;
|
||||
}
|
||||
|
||||
EditExpressionController::EditExpressionController(Responder * parentResponder, HistoryController * historyController, CalculationStore * calculationStore) :
|
||||
EditExpressionController::EditExpressionController(Responder * parentResponder, HistoryController * historyController, CalculationStore * calculationStore, TextFieldDelegate * textFieldDelegate) :
|
||||
ViewController(parentResponder),
|
||||
m_contentView((TableView *)historyController->view()),
|
||||
m_contentView((TableView *)historyController->view(), textFieldDelegate),
|
||||
m_historyController(historyController),
|
||||
m_calculationStore(calculationStore)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user