Skip to content

Commit 4b83277

Browse files
committedJun 29, 2016
Better fix for the "nothing found" notification
1 parent 48284f7 commit 4b83277

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/app/qgsmaptooloffsetcurve.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ void QgsMapToolOffsetCurve::canvasReleaseEvent( QgsMapMouseEvent* e )
119119
createDistanceWidget();
120120
}
121121
}
122-
else
122+
123+
if ( !mOriginalGeometry )
123124
{
124125
emit messageEmitted( tr( "Could not find a nearby feature in any vector layer." ) );
125126
}

0 commit comments

Comments
 (0)
Please sign in to comment.