Skip to content

Commit

Permalink
fix topology error markers
Browse files Browse the repository at this point in the history
  • Loading branch information
vinayan committed Jun 18, 2013
1 parent bdd61d5 commit 5f17250
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 5f17250

Please sign in to comment.