Skip to content

Commit

Permalink
Don't highlight callout nodes in non-move-label map tools
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Mar 15, 2021
1 parent f557a19 commit 879f892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/labeling/qgsmaptoollabel.cpp
Expand Up @@ -987,7 +987,7 @@ void QgsMapToolLabel::updateHoveredLabel( QgsMapMouseEvent *e )

QgsCalloutPosition calloutPosition;
bool isOrigin = false;
if ( calloutAtPosition( e, calloutPosition, isOrigin ) )
if ( !mCalloutProperties.isEmpty() && calloutAtPosition( e, calloutPosition, isOrigin ) )
{
if ( !mCalloutOtherPointsRubberBand )
{
Expand Down

0 comments on commit 879f892

Please sign in to comment.