@@ -550,6 +550,7 @@ bool QgsSnappingLayerTreeModel::setData( const QModelIndex &index, const QVarian
550
550
config.setIndividualLayerSettings ( vl, ls );
551
551
mProject ->setSnappingConfig ( config );
552
552
}
553
+ emit dataChanged ( index , index );
553
554
return true ;
554
555
}
555
556
@@ -572,6 +573,7 @@ bool QgsSnappingLayerTreeModel::setData( const QModelIndex &index, const QVarian
572
573
QgsSnappingConfig config = mProject ->snappingConfig ();
573
574
config.setIndividualLayerSettings ( vl, ls );
574
575
mProject ->setSnappingConfig ( config );
576
+ emit dataChanged ( index , index );
575
577
return true ;
576
578
}
577
579
}
@@ -592,6 +594,7 @@ bool QgsSnappingLayerTreeModel::setData( const QModelIndex &index, const QVarian
592
594
QgsSnappingConfig config = mProject ->snappingConfig ();
593
595
config.setIndividualLayerSettings ( vl, ls );
594
596
mProject ->setSnappingConfig ( config );
597
+ emit dataChanged ( index , index );
595
598
return true ;
596
599
}
597
600
}
@@ -612,6 +615,7 @@ bool QgsSnappingLayerTreeModel::setData( const QModelIndex &index, const QVarian
612
615
QgsSnappingConfig config = mProject ->snappingConfig ();
613
616
config.setIndividualLayerSettings ( vl, ls );
614
617
mProject ->setSnappingConfig ( config );
618
+ emit dataChanged ( index , index );
615
619
return true ;
616
620
}
617
621
}
@@ -632,6 +636,7 @@ bool QgsSnappingLayerTreeModel::setData( const QModelIndex &index, const QVarian
632
636
avoidIntersectionsList.removeAll ( vl );
633
637
634
638
mProject ->setAvoidIntersectionsLayers ( avoidIntersectionsList );
639
+ emit dataChanged ( index , index );
635
640
return true ;
636
641
}
637
642
}
0 commit comments