[apps/calculation] HistoryViewCell: fix setHighlighted to reload

subviews highlight
This commit is contained in:
Émilie Feral
2020-01-23 11:08:47 +01:00
committed by Léa Saviot
parent b39b8da036
commit 71de56f87a

View File

@@ -61,6 +61,7 @@ void HistoryViewCell::setHighlighted(bool highlight) {
return;
}
m_highlighted = highlight;
reloadSubviewHighlight();
// Re-layout as the ellispsis subview might have appear/disappear
layoutSubviews();
}