[apps/escher] Remove wrong markRectAsDirty, use reloadCell instead

This commit is contained in:
Léa Saviot
2018-11-05 16:38:21 +01:00
committed by Émilie Feral
parent f47a6549b8
commit b9bf5be5f6
3 changed files with 2 additions and 1 deletions

View File

@@ -46,6 +46,7 @@ HighlightCell * SequenceToolbox::reusableCell(int index, int type) {
void SequenceToolbox::willDisplayCellForIndex(HighlightCell * cell, int index) {
if (typeAtLocation(0, index) == 2) {
static_cast<ExpressionTableCell *>(cell)->setLayout(m_addedCellLayout[index]);
cell->reloadCell();
return;
}
MathToolbox::willDisplayCellForIndex(cell, mathToolboxIndex(index));