Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
add missing bracket to formula generated by data defined override.
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+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 ); |
|
|
} |
|
|
|
|
|