Skip to content
Permalink
Browse files
Fix for problem with mix of toplevel layers and nested layers
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13798 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Jun 24, 2010
1 parent 5a98db4 commit 76424df285a0dac3eca4e0b5a3aef202da4e4d69
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/providers/wms/qgswmsprovider.cpp
@@ -1716,6 +1716,11 @@ void QgsWmsProvider::parseLayer( QDomElement const & e, QgsWmsLayerProperty& lay
mLayerParentNames[ layerProperty.orderId ] = QStringList() << layerProperty.name << layerProperty.title << layerProperty.abstract;
}

if ( !parentProperty )
{
layerProperty.layer.clear();
}

// QgsDebugMsg("exiting.");
}

0 comments on commit 76424df

Please sign in to comment.