mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[apps/escher] Remove wrong markRectAsDirty, use reloadCell instead
This commit is contained in:
@@ -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));
|
||||
|
||||
@@ -21,7 +21,6 @@ void MessageTableCell::setHighlighted(bool highlight) {
|
||||
void MessageTableCell::setMessage(I18n::Message text) {
|
||||
m_messageTextView.setMessage(text);
|
||||
layoutSubviews();
|
||||
markRectAsDirty(bounds());
|
||||
}
|
||||
|
||||
void MessageTableCell::setTextColor(KDColor color) {
|
||||
|
||||
@@ -35,6 +35,7 @@ void Toolbox::willDisplayCellForIndex(HighlightCell * cell, int index) {
|
||||
}
|
||||
MessageTableCell * myCell = (MessageTableCell *)cell;
|
||||
myCell->setMessage(messageTree->label());
|
||||
myCell->reloadCell();
|
||||
}
|
||||
|
||||
int Toolbox::typeAtLocation(int i, int j) {
|
||||
|
||||
Reference in New Issue
Block a user