Skip to content

Commit

Permalink
Follow up 200ce04
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Jan 22, 2016
1 parent 200ce04 commit e83a7c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/ogr/qgsogrprovider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2596,12 +2596,12 @@ bool QgsOgrProvider::syncToDisc()

mShapefileMayBeCorrupted = false;

QgsOgrConnPool::refS( mFilePath );
if ( shapeIndex )
{
return createSpatialIndex();
}

QgsOgrConnPool::refS( mFilePath );
return true;
}

Expand Down

0 comments on commit e83a7c8

Please sign in to comment.