Showing with 9 additions and 0 deletions.
  1. +9 −0 src/plugins/topology/checkDock.cpp
9 changes: 9 additions & 0 deletions src/plugins/topology/checkDock.cpp
Original file line number Diff line number Diff line change
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