layer group node: copy properties of mutually exclusive groups (fixes #13723)

This commit is contained in:
Juergen E. Fischer 2015-10-31 19:25:01 +01:00
parent 2b17c2283d
commit d3ee16ffd1

View File

@ -39,9 +39,9 @@ QgsLayerTreeGroup::QgsLayerTreeGroup( const QgsLayerTreeGroup& other )
: QgsLayerTreeNode( other )
, mName( other.mName )
, mChecked( other.mChecked )
, mChangingChildVisibility( false )
, mMutuallyExclusive( false )
, mMutuallyExclusiveChildIndex( -1 )
, mChangingChildVisibility( other.mChangingChildVisibility )
, mMutuallyExclusive( other.mMutuallyExclusive )
, mMutuallyExclusiveChildIndex( other.mMutuallyExclusiveChildIndex )
{
connect( this, SIGNAL( visibilityChanged( QgsLayerTreeNode*, Qt::CheckState ) ), this, SLOT( nodeVisibilityChanged( QgsLayerTreeNode* ) ) );
}