@@ -179,9 +179,7 @@ QgsVectorLayer::QgsVectorLayer( QString vectorLayerPath,
179
179
}
180
180
181
181
connect ( this , SIGNAL ( selectionChanged ( QgsFeatureIds, QgsFeatureIds, bool ) ), this , SIGNAL ( selectionChanged () ) );
182
-
183
182
connect ( this , SIGNAL ( selectionChanged ( QgsFeatureIds, QgsFeatureIds, bool ) ), this , SIGNAL ( repaintRequested () ) );
184
-
185
183
connect ( QgsProject::instance ()->relationManager (), SIGNAL ( relationsLoaded () ), this , SLOT ( onRelationsLoaded () ) );
186
184
187
185
// Default simplify drawing settings
@@ -1250,9 +1248,22 @@ bool QgsVectorLayer::startEditing()
1250
1248
connect ( mEditBuffer , SIGNAL ( attributeValueChanged ( QgsFeatureId, int , QVariant ) ), this , SIGNAL ( attributeValueChanged ( QgsFeatureId, int , QVariant ) ) );
1251
1249
connect ( mEditBuffer , SIGNAL ( attributeAdded ( int ) ), this , SIGNAL ( attributeAdded ( int ) ) );
1252
1250
connect ( mEditBuffer , SIGNAL ( attributeDeleted ( int ) ), this , SIGNAL ( attributeDeleted ( int ) ) );
1251
+
1252
+ connect ( mEditBuffer , SIGNAL ( committedAttributesDeleted ( const QString &, const QgsAttributeList & ) ),
1253
+ this , SIGNAL ( committedAttributesDeleted ( const QString &, const QgsAttributeList & ) ) );
1254
+
1255
+ connect ( mEditBuffer , SIGNAL ( committedAttributesAdded ( const QString &, const QList<QgsField> & ) ),
1256
+ this , SIGNAL ( committedAttributesAdded ( const QString &, const QList<QgsField> & ) ) );
1257
+
1253
1258
connect ( mEditBuffer , SIGNAL ( committedFeaturesAdded ( QString, QgsFeatureList ) ), this , SIGNAL ( committedFeaturesAdded ( QString, QgsFeatureList ) ) );
1254
1259
connect ( mEditBuffer , SIGNAL ( committedFeaturesRemoved ( QString, QgsFeatureIds ) ), this , SIGNAL ( committedFeaturesRemoved ( QString, QgsFeatureIds ) ) );
1255
1260
1261
+ connect ( mEditBuffer , SIGNAL ( committedAttributeValuesChanges ( const QString &, const QgsChangedAttributesMap & ) ),
1262
+ this , SIGNAL ( committedAttributeValuesChanges ( const QString &, const QgsChangedAttributesMap & ) ) );
1263
+
1264
+ connect ( mEditBuffer , SIGNAL ( committedGeometriesChanges ( const QString &, const QgsGeometryMap & ) ),
1265
+ this , SIGNAL ( committedGeometriesChanges ( const QString &, const QgsGeometryMap & ) ) );
1266
+
1256
1267
updateFields ();
1257
1268
1258
1269
emit editingStarted ();
0 commit comments