Display warning in node tool if it couldn't find any features. Fixes #2134.

git-svn-id: http://svn.osgeo.org/qgis/trunk@12512 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
wonder 2009-12-19 11:03:29 +00:00
parent bed548daa4
commit 44e73aa38d

View File

@ -505,6 +505,7 @@ void QgsMapToolNodeTool::canvasPressEvent( QMouseEvent * e )
if ( snapResults.size() < 1 )
{
displaySnapToleranceWarning();
return;
}
mSelectionFeature = new SelectionFeature();