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 authored and github-actions[bot] committed Aug 29, 2022
1 parent 4d9af24 commit eedc2dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/qgsmaptoolcapture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,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 @@ -1298,7 +1298,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 eedc2dd

Please sign in to comment.