[apps][escher] EXE and OK trigger the same behaviour

Change-Id: Ide7d38fbc445be717e50ed46f2d784c02c9830e4
This commit is contained in:
Émilie Feral
2017-05-10 12:04:30 +02:00
parent e5dd0d8d7f
commit 4e0e285501
34 changed files with 36 additions and 36 deletions

View File

@@ -85,7 +85,7 @@ void ListController::selectPreviousNewSequenceCell() {
void ListController::editExpression(Sequence * sequence, int sequenceDefinition, Ion::Events::Event event) {
char * initialText = nullptr;
char initialTextContent[TextField::maxBufferSize()];
if (event == Ion::Events::OK) {
if (event == Ion::Events::OK || event == Ion::Events::EXE) {
switch (sequenceDefinition) {
case 0:
strlcpy(initialTextContent, sequence->text(), sizeof(initialTextContent));