Fix documentation for editFormConfig

It returns a copy: you need to change
it and use setEditFormConfig to make
modifications.
This commit is contained in:
Alessandro Pasotti 2018-09-04 07:57:57 +02:00
parent 5cd28034bd
commit aae41c068f
2 changed files with 0 additions and 2 deletions

View File

@ -2196,7 +2196,6 @@ It may also contain embedded expressions.
QgsEditFormConfig editFormConfig() const;
%Docstring
Returns the configuration of the form used to represent this vector layer.
This is a writable configuration that can directly be changed in place.
:return: The configuration of this layers' form

View File

@ -1964,7 +1964,6 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
/**
* Returns the configuration of the form used to represent this vector layer.
* This is a writable configuration that can directly be changed in place.
*
* \returns The configuration of this layers' form
*