diff --git a/escher/src/scrollable_expression_view_with_cursor.cpp b/escher/src/scrollable_expression_view_with_cursor.cpp index 4ce4d5c6a..7a14de953 100644 --- a/escher/src/scrollable_expression_view_with_cursor.cpp +++ b/escher/src/scrollable_expression_view_with_cursor.cpp @@ -131,6 +131,11 @@ bool ScrollableExpressionViewWithCursor::privateHandleEvent(Ion::Events::Event e m_expressionViewWithCursor.cursor()->setPosition(Poincare::ExpressionLayoutCursor::Position::Right); return true; } + if (event == Ion::Events::Back && isEditing()) { + setEditing(false); + m_delegate->scrollableExpressionViewWithCursorDidAbortEditing(this); + return true; + } if (event == Ion::Events::Division) { m_expressionViewWithCursor.cursor()->addFractionLayoutAndCollapseBrothers(); return true;