--- a/src/polygoncache.cpp Thu Mar 03 21:13:16 2022 +0200 +++ b/src/polygoncache.cpp Fri Mar 04 11:37:50 2022 +0200 @@ -6,8 +6,8 @@ { const auto mark = [this](){ this->needRecache = true; }; connect(model, &Model::dataChanged, mark); - connect(model, &Model::objectAdded, mark); - connect(model, &Model::objectRemoved, mark); + connect(model, &Model::rowsInserted, mark); + connect(model, &Model::rowsRemoved, mark); } /**