Skip to content

Commit 90738ff

Browse files
author
jef
committed
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
1 parent 1451978 commit 90738ff

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/core/qgsvectorlayer.cpp

+2-5
Original file line numberDiff line numberDiff line change
@@ -2562,12 +2562,9 @@ bool QgsVectorLayer::readXml( QDomNode & layer_node )
25622562
}
25632563

25642564
QString errorMsg;
2565-
if ( geometryType() != QGis::NoGeometry )
2565+
if ( !readSymbology( layer_node, errorMsg ) )
25662566
{
2567-
if ( !readSymbology( layer_node, errorMsg ) )
2568-
{
2569-
return false;
2570-
}
2567+
return false;
25712568
}
25722569

25732570
return mValid; // should be true if read successfully

0 commit comments

Comments
 (0)