From 042bdf3477be01acddd3f84aac0b2b329a9217d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9a=20Saviot?= Date: Mon, 16 Apr 2018 11:38:14 +0200 Subject: [PATCH] [escher] setEditing(true) when handling event in ScrollableEVWithCursor Change-Id: I24760d7050fffd3ba5c38393450c4545354a7769 --- escher/src/scrollable_expression_view_with_cursor.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/escher/src/scrollable_expression_view_with_cursor.cpp b/escher/src/scrollable_expression_view_with_cursor.cpp index 3860ea167..5a882acc1 100644 --- a/escher/src/scrollable_expression_view_with_cursor.cpp +++ b/escher/src/scrollable_expression_view_with_cursor.cpp @@ -52,6 +52,9 @@ bool ScrollableExpressionViewWithCursor::handleEvent(Ion::Events::Event event) { didHandleEvent = true; } if (didHandleEvent) { + if (!isEditing()) { + setEditing(true); + } reload(); KDSize newSize = minimalSizeForOptimalDisplay(); if (m_delegate && previousSize.height() != newSize.height()) {