Skip to content

Commit 4342d66

Browse files
committedNov 1, 2015
layer group node: copy properties of mutually exclusive groups (fixes #13723)
(cherry picked from commit d3ee16f)
1 parent fa47c96 commit 4342d66

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎src/core/layertree/qgslayertreegroup.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ QgsLayerTreeGroup::QgsLayerTreeGroup( const QgsLayerTreeGroup& other )
3939
: QgsLayerTreeNode( other )
4040
, mName( other.mName )
4141
, mChecked( other.mChecked )
42-
, mChangingChildVisibility( false )
43-
, mMutuallyExclusive( false )
44-
, mMutuallyExclusiveChildIndex( -1 )
42+
, mChangingChildVisibility( other.mChangingChildVisibility )
43+
, mMutuallyExclusive( other.mMutuallyExclusive )
44+
, mMutuallyExclusiveChildIndex( other.mMutuallyExclusiveChildIndex )
4545
{
4646
connect( this, SIGNAL( visibilityChanged( QgsLayerTreeNode*, Qt::CheckState ) ), this, SLOT( nodeVisibilityChanged( QgsLayerTreeNode* ) ) );
4747
}

0 commit comments

Comments
 (0)