Skip to content

Commit

Permalink
Layer tree view: correctly refresh greyed/ungreyed state of layers wh…
Browse files Browse the repository at this point in the history
…en toggling their group
  • Loading branch information
rouault committed Jan 9, 2017
1 parent 3772537 commit 247ca60
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/layertree/qgslayertreemodel.cpp
Expand Up @@ -409,6 +409,9 @@ bool QgsLayerTreeModel::setData( const QModelIndex& index, const QVariant& value
{
node->setItemVisibilityChecked( checked );
}

recursivelyEmitDataChanged( index );

return true;
}
else if ( role == Qt::EditRole )
Expand Down

0 comments on commit 247ca60

Please sign in to comment.