Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 98fd08a

Browse files
committedMar 19, 2019
add missing bracket to formula generated by data defined override.
1 parent 7ceb97a commit 98fd08a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/qgspropertytransformer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ QString QgsColorRampTransformer::toExpression( const QString &baseExpression ) c
619619
QString maxValueString = QString::number( mMaxValue );
620620
QString nullColorString = mNullColor.name();
621621

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

0 commit comments

Comments
 (0)
Please sign in to comment.