Skip to content

Commit

Permalink
Update src/core/fieldformatter/qgsvaluerelationfieldformatter.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Aug 16, 2019
1 parent f960c14 commit 8a408f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/fieldformatter/qgsvaluerelationfieldformatter.cpp
Expand Up @@ -180,7 +180,7 @@ QStringList QgsValueRelationFieldFormatter::valueToStringList( const QVariant &v
if ( value.type() == QVariant::String )
{
// This must be an array representation
auto newVal { value };
QVariant newVal { value };
if ( newVal.toString().trimmed().startsWith( '{' ) )
{
//normal case
Expand Down

0 comments on commit 8a408f6

Please sign in to comment.