[escher] TextField: call reinitDraftBuffer after edition is complete to

avoid erasing text that is required later.

Fix bug: OK handling on function list in linear mode did not copy the
function expression into the textfield before editing
This commit is contained in:
Émilie Feral
2019-07-30 11:27:42 +02:00
committed by LeaNumworks
parent 7b84b65502
commit 7a4ee746b2
11 changed files with 40 additions and 43 deletions

View File

@@ -38,8 +38,8 @@ void ConsoleEditCell::didBecomeFirstResponder() {
Container::activeApp()->setFirstResponder(&m_textField);
}
void ConsoleEditCell::setEditing(bool isEditing, bool reinitDraftBuffer) {
m_textField.setEditing(isEditing, reinitDraftBuffer);
void ConsoleEditCell::setEditing(bool isEditing) {
m_textField.setEditing(isEditing);
}
void ConsoleEditCell::setText(const char * text) {