Skip to content

Commit

Permalink
Fix documentation for editFormConfig
Browse files Browse the repository at this point in the history
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 bfa95c7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion python/core/auto_generated/qgsvectorlayer.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion src/core/qgsvectorlayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down

0 comments on commit bfa95c7

Please sign in to comment.