Don't strip "-prefixes from QgsDataDefined fields

followup 1e6483c
The field should not be provided with an expression format but plain
This commit is contained in:
Matthias Kuhn 2015-08-07 08:02:14 +02:00
parent ae0a532c9e
commit 6bbc9d5753

View File

@ -44,7 +44,7 @@ class QgsDataDefinedPrivate : public QSharedData
, active( active )
, useExpression( useExpression )
, expressionString( expressionString )
, field( field.remove( QRegExp( "^\"|\"$" ) ) )
, field( field )
, expressionPrepared( false )
{
}