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@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.
7 changes: 2 additions & 5 deletions src/core/qgsvectorlayer.cpp
Original file line number Diff line number Diff line change
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 90738ff

Please sign in to comment.