Skip to content

Commit

Permalink
More informative warning on shape capture option
Browse files Browse the repository at this point in the history
  • Loading branch information
SrNetoChan committed Jul 20, 2022
1 parent 6fbe9a4 commit aa8a55d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/qgsmaptoolcapture.cpp
Expand Up @@ -467,7 +467,7 @@ void QgsMapToolCapture::cadCanvasMoveEvent( QgsMapMouseEvent *e )
{
if ( !mCurrentShapeMapTool )
{
emit messageEmitted( tr( "Cannot capture a shape without a shape tool defined" ), Qgis::MessageLevel::Warning );
emit messageEmitted( tr( "Cannot capture a shape without defining an option in the Shape Digitizing Toolbar" ), Qgis::MessageLevel::Warning );
}
else
{
Expand Down Expand Up @@ -1297,7 +1297,7 @@ void QgsMapToolCapture::cadCanvasReleaseEvent( QgsMapMouseEvent *e )
{
if ( !mCurrentShapeMapTool )
{
emit messageEmitted( tr( "Cannot capture a shape without a shape tool defined" ), Qgis::MessageLevel::Warning );
emit messageEmitted( tr( "Cannot capture a shape without defining an option in the Shape Digitizing Toolbar" ), Qgis::MessageLevel::Warning );
return;
}
else
Expand Down

0 comments on commit aa8a55d

Please sign in to comment.