Skip to content
Permalink
Browse files

Fix file check

  • Loading branch information
mhugent committed Dec 24, 2015
1 parent c9b0ab1 commit 09e23ee93b2604bc6030aad33a5b4b2e691ec6bf
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/ogr/qgsogrprovider.cpp
@@ -2563,7 +2563,7 @@ bool QgsOgrProvider::syncToDisc()
sbnIndexFile.chop( suffixLength );
sbnIndexFile.append( "sbn" );

if ( !sbnIndexFile.isEmpty() )
if ( QFile::exists( sbnIndexFile ) )
{
shapeIndex = true;
close();

0 comments on commit 09e23ee

Please sign in to comment.
You can’t perform that action at this time.