Skip to content
Browse files
Fixed a bug that caused a crash whenever a maplayer tries to access i…
…ts legend item (for example when turning on or off editing)

git-svn-id: c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
larsl committed Feb 20, 2006
1 parent b0e0309 commit 15541ad
Showing 1 changed file with 2 additions and 0 deletions.
@@ -886,6 +886,8 @@ bool QgsLegend::readXML(QDomNode& legendnode)
QgsMapLayer* theMapLayer = iter->second;
QgsLegendLayerFile* theLegendLayerFile = new QgsLegendLayerFile(lastLayerFileGroup, QgsLegendLayerFile::nameFromLayer(theMapLayer), theMapLayer);

//set the check state

0 comments on commit 15541ad

Please sign in to comment.