Skip to content

Commit 3d7b802

Browse files
committed
Merge pull request #664 from vinayan/topofix
[Fix #8095] - fix topology error markers
2 parents bdd61d5 + 5f17250 commit 3d7b802

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/plugins/topology/checkDock.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,15 @@ void checkDock::deleteErrors()
149149

150150
mErrorList.clear();
151151
mErrorListModel->resetModel();
152+
153+
QList<QgsRubberBand*>::const_iterator rit;
154+
155+
for ( rit = mRbErrorMarkers.begin(); rit != mRbErrorMarkers.end(); ++rit )
156+
{
157+
QgsRubberBand* rb = *rit;
158+
rb->reset();
159+
delete rb;
160+
}
152161
}
153162

154163
void checkDock::parseErrorListByLayer( QString layerId )

0 commit comments

Comments
 (0)