src/glcompiler.cpp

changeset 1276
cae7b4f660c5
parent 1263
0256edecda54
child 1278
6e1ea24e5a5e
equal deleted inserted replaced
1275:7b0979f65ff6 1276:cae7b4f660c5
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)

mercurial