Skip to content

Commit

Permalink
Update src/core/qgspallabeling.cpp
Browse files Browse the repository at this point in the history
Co-Authored-By: m-kuhn <matthias@opengis.ch>
  • Loading branch information
nyalldawson and m-kuhn committed Mar 11, 2019
1 parent 5d6d0fa commit 434600c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgspallabeling.cpp
Expand Up @@ -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() )
{
Expand Down

0 comments on commit 434600c

Please sign in to comment.