Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[Fix #7639] Don't compare TypeName when comparing fields
  • Loading branch information
m-kuhn committed Apr 18, 2013
1 parent 151369d commit 0b780b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsfield.cpp
Expand Up @@ -42,7 +42,7 @@ QgsField::~QgsField()

bool QgsField::operator==( const QgsField& other ) const
{
return (( mName == other.mName ) && ( mType == other.mType ) && ( mTypeName == other.mTypeName )
return (( mName == other.mName ) && ( mType == other.mType )
&& ( mLength == other.mLength ) && ( mPrecision == other.mPrecision ) );
}

Expand Down

0 comments on commit 0b780b0

Please sign in to comment.