Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix #3356
git-svn-id: http://svn.osgeo.org/qgis/trunk@14937 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
brushtyler committed Dec 20, 2010
1 parent 7fe2e0e commit 96d75f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/spatialite/qgsspatialiteprovider.cpp
Expand Up @@ -231,7 +231,7 @@ void QgsSpatiaLiteProvider::loadFields()
if ( type == NULL )
type = "TEXT";

if ( name != mPrimaryKey )
if ( name == mPrimaryKey )
{
pkCount++;
pkName = name;
Expand Down

0 comments on commit 96d75f8

Please sign in to comment.