Skip to content
Permalink
Browse files

OgrProvider: initial encoding setting check (fix #8167)

  • Loading branch information
minorua committed Jun 26, 2013
1 parent afbc9b8 commit a13126cfdf416072453bbbcbad345686d447e4c2
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/providers/ogr/qgsogrprovider.cpp
@@ -335,6 +335,9 @@ QgsOgrProvider::QgsOgrProvider( QString const & uri )
ogrLayer = ogrOrigLayer;
if ( ogrLayer )
{
// check that the initial encoding setting is fit for this layer
setEncoding( encoding() );

valid = setSubsetString( mSubsetString );
QgsDebugMsg( "Data source is valid" );
}

0 comments on commit a13126c

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