Skip to content

Commit 247ca60

Browse files
committed
Layer tree view: correctly refresh greyed/ungreyed state of layers when toggling their group
1 parent 3772537 commit 247ca60

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/core/layertree/qgslayertreemodel.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,9 @@ bool QgsLayerTreeModel::setData( const QModelIndex& index, const QVariant& value
409409
{
410410
node->setItemVisibilityChecked( checked );
411411
}
412+
413+
recursivelyEmitDataChanged( index );
414+
412415
return true;
413416
}
414417
else if ( role == Qt::EditRole )

0 commit comments

Comments
 (0)