Skip to content

Commit

Permalink
Fix check state for legend groups restored from project file
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Mar 8, 2013
1 parent 969df01 commit 31d7f65
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/legend/qgslegend.cpp
Expand Up @@ -1849,10 +1849,12 @@ bool QgsLegend::readXML( QgsLegendGroup *parent, const QDomNode &node )
}
else
{
blockSignals( true );
if ( parent )
theGroup = new QgsLegendGroup( parent, name );
else
theGroup = new QgsLegendGroup( this, name );
blockSignals( false );
}

if ( !theGroup )
Expand Down

0 comments on commit 31d7f65

Please sign in to comment.