fix topology error markers

This commit is contained in:
vinayan 2013-06-18 07:50:42 +05:30
parent bdd61d592c
commit 5f1725006f

View File

@ -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 )