mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
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:
parent
bed548daa4
commit
44e73aa38d
@ -505,6 +505,7 @@ void QgsMapToolNodeTool::canvasPressEvent( QMouseEvent * e )
|
||||
|
||||
if ( snapResults.size() < 1 )
|
||||
{
|
||||
displaySnapToleranceWarning();
|
||||
return;
|
||||
}
|
||||
mSelectionFeature = new SelectionFeature();
|
||||
|
Loading…
x
Reference in New Issue
Block a user