Skip to content
Permalink
Browse files

[Fix #7639] Don't compare TypeName when comparing fields

  • Loading branch information
m-kuhn committed Apr 18, 2013
1 parent 151369d commit 0b780b0a5df8817415873ef2a55286566d53b293
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsfield.cpp
@@ -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 ) );
}

0 comments on commit 0b780b0

Please sign in to comment.
You can’t perform that action at this time.