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
jef committed Nov 24, 2010
1 parent 1451978 commit 90738ffe950bdbee40eea1aba496b1e7ed149242
Showing with 2 additions and 5 deletions.
  1. +2 −5 src/core/qgsvectorlayer.cpp
@@ -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.
You can’t perform that action at this time.