Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Do not display rubber band if label cannot be rotated
- Loading branch information
Showing
with
3 additions
and
0 deletions.
-
+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 ) ) |
|
|