Skip to content
Permalink
Browse files

applied patch from Juergen

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7145 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Aug 21, 2007
1 parent 1b076b1 commit 326e58e7bb11e9f19b06ccbceebe2f0f92cf3346
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/app/legend/qgslegend.cpp
@@ -981,6 +981,8 @@ bool QgsLegend::readXML(QDomNode& legendnode)
//remove the whole legendlayer if this is the only legendlayerfile
if(childelem.previousSibling().isNull() && childelem.nextSibling().isNull())
{
collapsed.remove(lastLayer);
expanded.remove(lastLayer);
delete lastLayer;
}
}

0 comments on commit 326e58e

Please sign in to comment.
You can’t perform that action at this time.