Skip to content
Permalink
Browse files

Layer tree view: correctly refresh greyed/ungreyed state of layers wh…

…en toggling their group
  • Loading branch information
rouault committed Jan 9, 2017
1 parent 3772537 commit 247ca607bc8dcbeddaef5edc62f319a75110c373
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/core/layertree/qgslayertreemodel.cpp
@@ -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 )

0 comments on commit 247ca60

Please sign in to comment.
You can’t perform that action at this time.