Skip to content
Permalink
Browse files

[Geometry checker] Clear previous rubberbands if new selection is empty

  • Loading branch information
manisandro committed Oct 15, 2015
1 parent 772ded8 commit 28dc710516aa4c657f5f5fa5e04147fd98755b62
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/plugins/geometry_checker/ui/qgsgeometrycheckerresulttab.cpp
@@ -401,6 +401,11 @@ void QgsGeometryCheckerResultTab::onSelectionChanged( const QItemSelection &newS
{
highlightErrors();
}
else
{
qDeleteAll( mCurrentRubberBands );
mCurrentRubberBands.clear();
}
ui.pushButtonOpenAttributeTable->setEnabled( !newSel.isEmpty() );
}

0 comments on commit 28dc710

Please sign in to comment.
You can’t perform that action at this time.