mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-24 16:20:49 +01:00
[apps][escher] Fix insering several letters when clicking on SIN
e. g. Change-Id: If71400b22f65878a94090fed7f3c68433a10506c
This commit is contained in:
@@ -62,9 +62,10 @@ bool InputViewController::handleEvent(Ion::Events::Event event) {
|
||||
return false;
|
||||
}
|
||||
|
||||
void InputViewController::edit(Responder * caller, const char * initialContent, void * context, Invocation::Action successAction, Invocation::Action failureAction) {
|
||||
void InputViewController::edit(Responder * caller, const char * initialContent, int cursorPosition, void * context, Invocation::Action successAction, Invocation::Action failureAction) {
|
||||
m_successAction = Invocation(successAction, context);
|
||||
m_failureAction = Invocation(failureAction, context);
|
||||
setTextBody(initialContent);
|
||||
m_textFieldController.textField()->setCursorLocation(cursorPosition);
|
||||
showInput();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user