mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-27 01:29:58 +01:00
[escher] add methods to add text to buffer in textfield
Change-Id: I51388c7495ed8919d1f2ba48d645aee9476c5ed6
This commit is contained in:
@@ -34,7 +34,7 @@ const char * InputViewController::title() const {
|
||||
}
|
||||
|
||||
const char * InputViewController::textBody() {
|
||||
return m_textFieldController.textField()->textBuffer();
|
||||
return m_textFieldController.textField()->text();
|
||||
}
|
||||
|
||||
void InputViewController::showInput() {
|
||||
@@ -42,7 +42,7 @@ void InputViewController::showInput() {
|
||||
}
|
||||
|
||||
void InputViewController::setTextBody(const char * text) {
|
||||
m_textFieldController.textField()->setTextBuffer(text);
|
||||
m_textFieldController.textField()->setText(text);
|
||||
}
|
||||
|
||||
bool InputViewController::handleEvent(Ion::Events::Event event) {
|
||||
|
||||
Reference in New Issue
Block a user