Skip to content
Permalink
Browse files

Uniformize message when segments are parallels

  • Loading branch information
lbartoletti committed Oct 3, 2017
1 parent 8e14d08 commit 2cd4c42c16f7b835c83f43720826a535b3853ec2
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsmaptoolcircle3tangents.cpp
@@ -71,7 +71,7 @@ void QgsMapToolCircle3Tangents::cadCanvasReleaseEvent( QgsMapMouseEvent *e )
mCircle = QgsCircle().from3Tangents( mPoints.at( 0 ), mPoints.at( 1 ), mPoints.at( 2 ), mPoints.at( 3 ), mPoints.at( 4 ), mPoints.at( 5 ) );
if ( mCircle.isEmpty() )
{
QgisApp::instance()->messageBar()->pushMessage( tr( "Error" ), tr( "At least two segments are parallels" ), QgsMessageBar::WARNING, QgisApp::instance()->messageTimeout() );
QgisApp::instance()->messageBar()->pushMessage( tr( "Error" ), tr( "At least two segments are parallels" ), QgsMessageBar::CRITICAL, QgisApp::instance()->messageTimeout() );
mPoints.clear();
delete mTempRubberBand;
mTempRubberBand = nullptr;

0 comments on commit 2cd4c42

Please sign in to comment.
You can’t perform that action at this time.