509 |
509 |
510 void GLCompiler::handleRowRemoval(const QModelIndex&, int first, int last) |
510 void GLCompiler::handleRowRemoval(const QModelIndex&, int first, int last) |
511 { |
511 { |
512 for (int row = first; row <= last; row += 1) |
512 for (int row = first; row <= last; row += 1) |
513 forgetObject(m_renderer->model()->index(row)); |
513 forgetObject(m_renderer->model()->index(row)); |
|
514 |
|
515 needMerge(); |
514 } |
516 } |
515 |
517 |
516 void GLCompiler::handleDataChange(const QModelIndex& topLeft, const QModelIndex& bottomRight) |
518 void GLCompiler::handleDataChange(const QModelIndex& topLeft, const QModelIndex& bottomRight) |
517 { |
519 { |
518 for (int row = topLeft.row(); row <= bottomRight.row(); row += 1) |
520 for (int row = topLeft.row(); row <= bottomRight.row(); row += 1) |