Skip to content
Permalink
Browse files

Update src/core/qgspallabeling.cpp

Co-Authored-By: m-kuhn <matthias@opengis.ch>
  • Loading branch information
nyalldawson and m-kuhn committed Mar 11, 2019
1 parent 5d6d0fa commit 434600c294dea6c2473e83d6ea40135d52ba2b41
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgspallabeling.cpp
@@ -1222,7 +1222,7 @@ void QgsPalLayerSettings::calculateLabelSize( const QFontMetricsF *fm, const QSt
void QgsPalLayerSettings::registerFeature( const QgsFeature &f, QgsRenderContext &context, QgsLabelFeature **labelFeature, QgsGeometry obstacleGeometry )
{
QgsFeature feature = f;
if ( geometryGeneratorEnabled )
if ( geometryGeneratorEnabled && drawLabels )
{
if ( !mGeometryGeneratorExpression.isValid() )
{

0 comments on commit 434600c

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