Skip to content

Commit

Permalink
Initialize joined feature properly
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Aug 28, 2017
1 parent 4be1cc0 commit cad038b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/qgsvectorlayerjoinbuffer.cpp
Expand Up @@ -422,6 +422,7 @@ QgsFeature QgsVectorLayerJoinBuffer::joinedFeatureOf( const QgsVectorLayerJoinIn

if ( info->joinLayer() )
{
joinedFeature.initAttributes( info->joinLayer()->fields().count() );
joinedFeature.setFields( info->joinLayer()->fields() );

QString joinFieldName = info->joinFieldName();
Expand Down

0 comments on commit cad038b

Please sign in to comment.