Skip to content

Commit

Permalink
Include joined fields when merging QgsFields
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Jun 16, 2013
1 parent d002423 commit 449c2a2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/qgsfield.h
Expand Up @@ -190,8 +190,7 @@ class CORE_EXPORT QgsFields
{
for ( int i = 0; i < other.count(); ++i )
{
if ( other.fieldOrigin( i ) != OriginJoin )
append( other.at( i ), other.fieldOrigin( i ), other.fieldOriginIndex( i ) );
append( other.at( i ), other.fieldOrigin( i ), other.fieldOriginIndex( i ) );
}
}
inline const QgsField& operator[]( int i ) const { return mFields[i].field; }
Expand Down

0 comments on commit 449c2a2

Please sign in to comment.