[escher] Handle copy/cut event on Expression in selectable table view

This commit is contained in:
Émilie Feral
2018-06-06 14:40:04 +02:00
parent 24c9549866
commit ac9da8d559
18 changed files with 43 additions and 52 deletions

View File

@@ -13,10 +13,7 @@ SequenceTitleCell::SequenceTitleCell(Orientation orientation) :
}
void SequenceTitleCell::setExpressionLayout(Poincare::ExpressionLayout * expressionLayout) {
if (expressionLayout) {
m_titleTextView.setExpressionLayout(expressionLayout);
expressionLayout->writeTextInBuffer(m_storedText, k_maxStoredTextSize);
}
m_titleTextView.setExpressionLayout(expressionLayout);
}
void SequenceTitleCell::setHighlighted(bool highlight) {