We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 1451978 commit 90738ffCopy full SHA for 90738ff
src/core/qgsvectorlayer.cpp
@@ -2562,12 +2562,9 @@ bool QgsVectorLayer::readXml( QDomNode & layer_node )
2562
}
2563
2564
QString errorMsg;
2565
- if ( geometryType() != QGis::NoGeometry )
+ if ( !readSymbology( layer_node, errorMsg ) )
2566
{
2567
- if ( !readSymbology( layer_node, errorMsg ) )
2568
- {
2569
- return false;
2570
- }
+ return false;
2571
2572
2573
return mValid; // should be true if read successfully
0 commit comments