[apps/graph] add a method in function expression view to mark a cell as dirty

Change-Id: Iee820055f36f18a31af5bd69097557e9718c6425
This commit is contained in:
Émilie Feral
2016-10-04 10:20:19 +02:00
parent 5f30507f2d
commit a29be020f5
3 changed files with 6 additions and 1 deletions

View File

@@ -31,3 +31,8 @@ void FunctionCell::setHighlighted(bool highlight) {
Graph::Function * FunctionCell::function() {
return m_function;
}
void FunctionCell::reloadCell() {
//TODO: optimize for function_name_view (make it virtual)
markRectAsDirty(bounds());
}