diff --git a/escher/src/scrollable_expression_view_with_cursor.cpp b/escher/src/scrollable_expression_view_with_cursor.cpp index 654c7c450..81bfc71f3 100644 --- a/escher/src/scrollable_expression_view_with_cursor.cpp +++ b/escher/src/scrollable_expression_view_with_cursor.cpp @@ -232,7 +232,9 @@ void ScrollableExpressionViewWithCursor::insertLayoutFromTextAtCursor(const char if (expression != nullptr) { Poincare::ExpressionLayout * layout = expression->createLayout(); delete expression; + m_expressionViewWithCursor.cursor()->showEmptyLayoutIfNeeded(); insertLayoutAtCursor(layout, nullptr); + m_expressionViewWithCursor.cursor()->hideEmptyLayoutIfNeeded(); reload(); return; }