From 899e0d4a6b1eb1655d1af9dfa9399764eb676422 Mon Sep 17 00:00:00 2001 From: Joachim Le Fournis <43498612+RedGl0w@users.noreply.github.com> Date: Thu, 28 May 2020 20:04:13 +0200 Subject: [PATCH] [apps/shared] Fixed a small mistake in parameter_text_field_delegate.cpp In this commit, there was a small oversight in https://github.com/numworks/epsilon/commit/7a4ee746b2a49a090cf920cfe53935ccdea7d607, which caused https://github.com/numworks/epsilon/issues/1570 --- apps/shared/parameter_text_field_delegate.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/shared/parameter_text_field_delegate.cpp b/apps/shared/parameter_text_field_delegate.cpp index 990a0e692..c07a46a18 100644 --- a/apps/shared/parameter_text_field_delegate.cpp +++ b/apps/shared/parameter_text_field_delegate.cpp @@ -5,6 +5,7 @@ namespace Shared { bool ParameterTextFieldDelegate::textFieldDidReceiveEvent(TextField * textField, Ion::Events::Event event) { if (event == Ion::Events::Backspace && !textField->isEditing()) { + textField->reinitDraftTextBuffer(); textField->setEditing(true); return true; }