mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
Follow up 200ce04b88c515d9880615d7254e45d1a50049a4
This commit is contained in:
parent
200ce04b88
commit
e83a7c869f
@ -2596,12 +2596,12 @@ bool QgsOgrProvider::syncToDisc()
|
||||
|
||||
mShapefileMayBeCorrupted = false;
|
||||
|
||||
QgsOgrConnPool::refS( mFilePath );
|
||||
if ( shapeIndex )
|
||||
{
|
||||
return createSpatialIndex();
|
||||
}
|
||||
|
||||
QgsOgrConnPool::refS( mFilePath );
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user