mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-22 07:10:40 +01:00
[apps/*/expression_model_list_controller] editExpression sets text instead of InputViewController::edit
This commit is contained in:
committed by
LeaNumworks
parent
7d9f479f3c
commit
1d966ce23c
@@ -25,13 +25,10 @@ InputViewController::InputViewController(Responder * parentResponder, ViewContro
|
||||
{
|
||||
}
|
||||
|
||||
void InputViewController::edit(Responder * caller, Ion::Events::Event event, void * context, const char * initialText, Invocation::Action successAction, Invocation::Action failureAction) {
|
||||
void InputViewController::edit(Responder * caller, Ion::Events::Event event, void * context, Invocation::Action successAction, Invocation::Action failureAction) {
|
||||
m_successAction = Invocation(successAction, context);
|
||||
m_failureAction = Invocation(failureAction, context);
|
||||
displayModalViewController(&m_expressionFieldController, 1.0f, 1.0f);
|
||||
if (initialText != nullptr) {
|
||||
m_expressionFieldController.expressionField()->setText(initialText);
|
||||
}
|
||||
m_expressionFieldController.expressionField()->handleEvent(event);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user