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.
  • Loading branch information
elpaso committed Sep 4, 2018
1 parent 5cd2803 commit aae41c068f56c2837683cf4045625a35dd07c68e
Showing with 0 additions and 2 deletions.
  1. +0 −1 python/core/auto_generated/qgsvectorlayer.sip.in
  2. +0 −1 src/core/qgsvectorlayer.h
@@ -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

@@ -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
*

1 comment on commit aae41c0

@nyalldawson

This comment has been minimized.

Copy link
Collaborator

@nyalldawson nyalldawson commented on aae41c0 Sep 4, 2018

Thanks!

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