Skip to content

Commit aa8a55d

Browse files
committed
More informative warning on shape capture option
1 parent 6fbe9a4 commit aa8a55d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gui/qgsmaptoolcapture.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ void QgsMapToolCapture::cadCanvasMoveEvent( QgsMapMouseEvent *e )
467467
{
468468
if ( !mCurrentShapeMapTool )
469469
{
470-
emit messageEmitted( tr( "Cannot capture a shape without a shape tool defined" ), Qgis::MessageLevel::Warning );
470+
emit messageEmitted( tr( "Cannot capture a shape without defining an option in the Shape Digitizing Toolbar" ), Qgis::MessageLevel::Warning );
471471
}
472472
else
473473
{
@@ -1297,7 +1297,7 @@ void QgsMapToolCapture::cadCanvasReleaseEvent( QgsMapMouseEvent *e )
12971297
{
12981298
if ( !mCurrentShapeMapTool )
12991299
{
1300-
emit messageEmitted( tr( "Cannot capture a shape without a shape tool defined" ), Qgis::MessageLevel::Warning );
1300+
emit messageEmitted( tr( "Cannot capture a shape without defining an option in the Shape Digitizing Toolbar" ), Qgis::MessageLevel::Warning );
13011301
return;
13021302
}
13031303
else

0 commit comments

Comments
 (0)