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 1a40699 commit 1612f854968e8cb89ce9cb300de4e6b9f89c2614
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 1612f85

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