[escher] setEditing(true) when handling event in ScrollableEVWithCursor

Change-Id: I24760d7050fffd3ba5c38393450c4545354a7769
This commit is contained in:
Léa Saviot
2018-04-16 11:38:14 +02:00
parent 8ced0d6839
commit 042bdf3477

View File

@@ -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()) {