[escher] Force re-layout when aborting text field edition

This commit is contained in:
Léa Saviot
2018-10-23 13:41:23 +02:00
committed by Émilie Feral
parent 1c6573e8fe
commit 96c105620a

View File

@@ -280,8 +280,8 @@ bool TextField::privateHandleEvent(Ion::Events::Event event) {
}
if (event == Ion::Events::Back && isEditing()) {
setEditing(false, m_hasTwoBuffers);
reloadScroll();
m_delegate->textFieldDidAbortEditing(this);
reloadScroll(true);
return true;
}
if (event == Ion::Events::Clear && isEditing()) {