Skip to content
Permalink
Browse files
fix r10511
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10577 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Apr 16, 2009
1 parent e2183a8 commit fdc93dc48c4f9d4820152e0ebc2f15b43a7e6711
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsvectorlayer.cpp
@@ -2191,7 +2191,7 @@ bool QgsVectorLayer::setDataProvider( QString const & provider )
reg.indexIn( name() );
QStringList stuff = reg.capturedTexts();
QString lName = stuff[1];
if ( lName.length() == 3 )
if ( stuff.size() == 3 )
{
const QMap<QString, QgsMapLayer*> &layers = QgsMapLayerRegistry::instance()->mapLayers();

0 comments on commit fdc93dc

Please sign in to comment.