Skip to content

Commit

Permalink
Better fix for the "nothing found" notification
Browse files Browse the repository at this point in the history
  • Loading branch information
wonder-sk committed Jun 29, 2016
1 parent 48284f7 commit 4b83277
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/qgsmaptooloffsetcurve.cpp
Expand Up @@ -119,7 +119,8 @@ void QgsMapToolOffsetCurve::canvasReleaseEvent( QgsMapMouseEvent* e )
createDistanceWidget(); createDistanceWidget();
} }
} }
else
if ( !mOriginalGeometry )
{ {
emit messageEmitted( tr( "Could not find a nearby feature in any vector layer." ) ); emit messageEmitted( tr( "Could not find a nearby feature in any vector layer." ) );
} }
Expand Down

0 comments on commit 4b83277

Please sign in to comment.