Skip to content

Commit 96d75f8

Browse files
author
brushtyler
committedDec 20, 2010
Fix #3356
git-svn-id: http://svn.osgeo.org/qgis/trunk@14937 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 7fe2e0e commit 96d75f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/providers/spatialite/qgsspatialiteprovider.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ void QgsSpatiaLiteProvider::loadFields()
231231
if ( type == NULL )
232232
type = "TEXT";
233233

234-
if ( name != mPrimaryKey )
234+
if ( name == mPrimaryKey )
235235
{
236236
pkCount++;
237237
pkName = name;

0 commit comments

Comments
 (0)
Please sign in to comment.