Skip to content

Commit

Permalink
also save edit types and actions for geometry-less layers
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14755 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Nov 24, 2010
1 parent 79b3e6a commit 5273520
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/core/qgsvectorlayer.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 5273520

Please sign in to comment.