[escher] TextField: never flush the buffer when textField has only one

buffer
This commit is contained in:
Émilie Feral
2018-10-23 11:23:59 +02:00
parent 6dc1250df2
commit d61ee2857b
2 changed files with 2 additions and 2 deletions

View File

@@ -48,7 +48,7 @@ void MenuController::willExitResponderChain(Responder * nextFirstResponder) {
if (selectedRow >= 0 && selectedRow < m_scriptStore->numberOfScripts() && selectedColumn == 0) {
TextField * tf = static_cast<ScriptNameCell *>(m_selectableTableView.selectedCell())->textField();
if (tf->isEditing()) {
tf->setEditing(false);
tf->setEditing(false, false);
textFieldDidAbortEditing(tf);
}
}