[Qgis-developer] how to stop editing using API?

Marco Gomes marco.gomes at edisoft.pt
Mon Jul 8 10:23:23 PDT 2013


thanks!

 

i thought that this command do not worked with memory layers.....and
tried to save the layers into the c: 

 

 

From: Fred Lehodey [mailto:lehodey at gmail.com] 
Sent: Monday, July 08, 2013 6:03 PM
To: Marco Gomes
Cc: QGIS Developer
Subject: Re: [Qgis-developer] how to stop editing using API?

 

commitChanges()  if sucess...

 

http://www.qgis.org/api/classQgsVectorLayer.html#afab34baf331320a8c32129
93f5fccfa1

 

hth, Fred

 

 

On Mon, Jul 8, 2013 at 5:43 PM, Marco Gomes <marco.gomes at edisoft.pt>
wrote:

i am modifying my QgsVectorLayer using the startediting method but I
don't know how to stop the editing after.

 

how can I stop editing a layer after use the startediting?


_______________________________________________
Qgis-developer mailing list
Qgis-developer at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20130708/af1e309d/attachment.html>


More information about the Qgis-developer mailing list