Skip to content
Permalink
Browse files
also save edit types and actions for geometry-less layers
git-svn-id: http://svn.osgeo.org/qgis/trunk@14755 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Nov 24, 2010
1 parent 1451978 commit 90738ff
Showing 1 changed file with 2 additions and 5 deletions.
@@ -2562,12 +2562,9 @@ bool QgsVectorLayer::readXml( QDomNode & layer_node )
}

QString errorMsg;
if ( geometryType() != QGis::NoGeometry )
if ( !readSymbology( layer_node, errorMsg ) )
{
if ( !readSymbology( layer_node, errorMsg ) )
{
return false;
}
return false;
}

return mValid; // should be true if read successfully

0 comments on commit 90738ff

Please sign in to comment.