Skip to content
Permalink
Browse files

add missing bracket to formula generated by data defined override.

  • Loading branch information
AlisterH committed Mar 19, 2019
1 parent 7ceb97a commit 98fd08ab08c49d63dd3bcd738e1fdcc7ae9eb9f2
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgspropertytransformer.cpp
@@ -619,7 +619,7 @@ QString QgsColorRampTransformer::toExpression( const QString &baseExpression ) c
QString maxValueString = QString::number( mMaxValue );
QString nullColorString = mNullColor.name();

return QStringLiteral( "coalesce(ramp_color('%1',scale_linear(%2, %3, %4, 0, 1), '%5')" ).arg( !mRampName.isEmpty() ? mRampName : QStringLiteral( "custom ramp" ),
return QStringLiteral( "coalesce(ramp_color('%1',scale_linear(%2, %3, %4, 0, 1)), '%5')" ).arg( !mRampName.isEmpty() ? mRampName : QStringLiteral( "custom ramp" ),
baseExpression, minValueString, maxValueString, nullColorString );
}

0 comments on commit 98fd08a

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