Skip to content
Permalink
Browse files

[GRASS] commit changes fix

  • Loading branch information
blazek committed Sep 18, 2015
1 parent 73d838f commit a1b05a1dece63e35b3979a277b969a1d9e37e45f
Showing with 10 additions and 3 deletions.
  1. +10 −3 src/providers/grass/qgsgrassprovider.h
@@ -124,13 +124,20 @@ class GRASS_LIB_EXPORT QgsGrassProvider : public QgsVectorDataProvider

QgsCoordinateReferenceSystem crs() override;

// ----------------------------------- New edit --------------------------------
// Changes are written during editing.
// TODO: implement also these functions but disable during manual layer editing
virtual bool addFeatures( QgsFeatureList & flist ) override { Q_UNUSED( flist ); return true; }
virtual bool deleteFeatures( const QgsFeatureIds & id ) override { Q_UNUSED( id ); return true; }
virtual bool addAttributes( const QList<QgsField> &attributes ) override { Q_UNUSED( attributes ); return true; }
virtual bool deleteAttributes( const QgsAttributeIds &attributes ) override { Q_UNUSED( attributes ); return true; }
virtual bool changeAttributeValues( const QgsChangedAttributesMap & attr_map ) override { Q_UNUSED( attr_map ); return true; }
virtual bool changeGeometryValues( QgsGeometryMap & geometry_map ) override { Q_UNUSED( geometry_map ); return true; }


//----------------------------------------------------------------------------
QgsGrassObject grassObject() const { return mGrassObject; }

// ----------------------------------- New edit --------------------------------
bool changeGeometryValues( QgsGeometryMap & geometry_map ) override { Q_UNUSED( geometry_map ); return true; }


// ----------------------------------- Edit ----------------------------------

0 comments on commit a1b05a1

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