Skip to content

Commit 09e23ee

Browse files
committedDec 24, 2015
Fix file check
1 parent c9b0ab1 commit 09e23ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/providers/ogr/qgsogrprovider.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2563,7 +2563,7 @@ bool QgsOgrProvider::syncToDisc()
25632563
sbnIndexFile.chop( suffixLength );
25642564
sbnIndexFile.append( "sbn" );
25652565

2566-
if ( !sbnIndexFile.isEmpty() )
2566+
if ( QFile::exists( sbnIndexFile ) )
25672567
{
25682568
shapeIndex = true;
25692569
close();

0 commit comments

Comments
 (0)
Please sign in to comment.