src/gl/partrenderer.cpp

changeset 111
1f42c03fafca
parent 107
02f142b399b1
child 112
5760cbb32bc0
equal deleted inserted replaced
110:d922431eacf7 111:1f42c03fafca
36 documents{documents}, 36 documents{documents},
37 colorTable{colorTable}, 37 colorTable{colorTable},
38 compiler{new gl::Compiler{this->colorTable, this}} 38 compiler{new gl::Compiler{this->colorTable, this}}
39 { 39 {
40 this->setMouseTracking(true); 40 this->setMouseTracking(true);
41 connect(model, &Model::rowsInserted, [&]{
42 this->needBuild = true;
43 });
44 connect(model, &Model::rowsRemoved, [&]{ this->needBuild = true; });
41 } 45 }
42 46
43 PartRenderer::~PartRenderer() 47 PartRenderer::~PartRenderer()
44 { 48 {
45 } 49 }

mercurial