Skip to content

Commit 31d7f65

Browse files
committedMar 8, 2013
Fix check state for legend groups restored from project file
1 parent 969df01 commit 31d7f65

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/app/legend/qgslegend.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1849,10 +1849,12 @@ bool QgsLegend::readXML( QgsLegendGroup *parent, const QDomNode &node )
18491849
}
18501850
else
18511851
{
1852+
blockSignals( true );
18521853
if ( parent )
18531854
theGroup = new QgsLegendGroup( parent, name );
18541855
else
18551856
theGroup = new QgsLegendGroup( this, name );
1857+
blockSignals( false );
18561858
}
18571859

18581860
if ( !theGroup )

0 commit comments

Comments
 (0)
Please sign in to comment.