Skip to content

Commit

Permalink
Merge pull request #664 from vinayan/topofix
Browse files Browse the repository at this point in the history
[Fix #8095] - fix topology error markers
  • Loading branch information
vinayan committed Jun 18, 2013
2 parents bdd61d5 + 5f17250 commit 3d7b802
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/plugins/topology/checkDock.cpp
Expand Up @@ -149,6 +149,15 @@ void checkDock::deleteErrors()

mErrorList.clear();
mErrorListModel->resetModel();

QList<QgsRubberBand*>::const_iterator rit;

for ( rit = mRbErrorMarkers.begin(); rit != mRbErrorMarkers.end(); ++rit )
{
QgsRubberBand* rb = *rit;
rb->reset();
delete rb;
}
}

void checkDock::parseErrorListByLayer( QString layerId )
Expand Down

0 comments on commit 3d7b802

Please sign in to comment.