Skip to content
Permalink
Browse files

Fix documentation for editFormConfig

It returns a copy: you need to change
it and use setEditFormConfig to make
modifications.

(cherry picked from commit aae41c0)
  • Loading branch information
elpaso authored and nyalldawson committed Sep 6, 2018
1 parent fbed86e commit bfa95c7f4fbc709836eab6d59b47c28675af5da2
Showing with 0 additions and 2 deletions.
  1. +0 −1 python/core/auto_generated/qgsvectorlayer.sip.in
  2. +0 −1 src/core/qgsvectorlayer.h
@@ -2167,7 +2167,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

@@ -1938,7 +1938,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
*

0 comments on commit bfa95c7

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