Skip to content

Commit

Permalink
[Geometry checker] Clear previous rubberbands if new selection is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Jan 19, 2016
1 parent 772ded8 commit 28dc710
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,11 @@ void QgsGeometryCheckerResultTab::onSelectionChanged( const QItemSelection &newS
{
highlightErrors();
}
else
{
qDeleteAll( mCurrentRubberBands );
mCurrentRubberBands.clear();
}
ui.pushButtonOpenAttributeTable->setEnabled( !newSel.isEmpty() );
}

Expand Down

0 comments on commit 28dc710

Please sign in to comment.