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.
  • Loading branch information
elpaso committed Sep 4, 2018
1 parent 5cd2803 commit aae41c0
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
Expand Up @@ -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

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

1 comment on commit aae41c0

@nyalldawson
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Please sign in to comment.