Skip to content
Permalink
Browse files

Do not display rubber band if label cannot be rotated

  • Loading branch information
pblottiere committed Oct 22, 2018
1 parent 1ab6d32 commit 333971c9816b66c0cc15d3df7a3442dbb4fa0a47
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/app/qgsmaptoolrotatelabel.cpp
@@ -83,6 +83,9 @@ void QgsMapToolRotateLabel::canvasPressEvent( QgsMapMouseEvent *e )
QgsPalIndexes indexes;
if ( createAuxiliaryFields( indexes ) )
return;

if ( !labelIsRotatable( mCurrentLabel.layer, mCurrentLabel.settings, rotationCol ) )
return;
}

if ( currentLabelDataDefinedRotation( mCurrentRotation, hasRotationValue, rotationCol, true ) )

0 comments on commit 333971c

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