Skip to content
Permalink
Browse files
fix r10511
git-svn-id: http://svn.osgeo.org/qgis/trunk@10577 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Apr 16, 2009
1 parent 616b62c commit bd3ced7a826d94b34cf66f7cc46fe0477696e7ba
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 bd3ced7

Please sign in to comment.