Follow up 200ce04b88c515d9880615d7254e45d1a50049a4

This commit is contained in:
Marco Hugentobler 2016-01-22 20:01:22 +01:00
parent 200ce04b88
commit e83a7c869f

View File

@ -2596,12 +2596,12 @@ bool QgsOgrProvider::syncToDisc()
mShapefileMayBeCorrupted = false;
QgsOgrConnPool::refS( mFilePath );
if ( shapeIndex )
{
return createSpatialIndex();
}
QgsOgrConnPool::refS( mFilePath );
return true;
}