Skip to content

Commit

Permalink
Display warning in node tool if it couldn't find any features. Fixes #…
Browse files Browse the repository at this point in the history
…2134.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12512 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Dec 19, 2009
1 parent e3ea4be commit 0388bae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/qgsmaptoolnodetool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,7 @@ void QgsMapToolNodeTool::canvasPressEvent( QMouseEvent * e )

if ( snapResults.size() < 1 )
{
displaySnapToleranceWarning();
return;
}
mSelectionFeature = new SelectionFeature();
Expand Down

0 comments on commit 0388bae

Please sign in to comment.