Skip to content

Commit aae41c0

Browse files
committedSep 4, 2018
Fix documentation for editFormConfig
It returns a copy: you need to change it and use setEditFormConfig to make modifications.
1 parent 5cd2803 commit aae41c0

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed
 

‎python/core/auto_generated/qgsvectorlayer.sip.in‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2196,7 +2196,6 @@ It may also contain embedded expressions.
21962196
QgsEditFormConfig editFormConfig() const;
21972197
%Docstring
21982198
Returns the configuration of the form used to represent this vector layer.
2199-
This is a writable configuration that can directly be changed in place.
22002199

22012200
:return: The configuration of this layers' form
22022201

‎src/core/qgsvectorlayer.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1964,7 +1964,6 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
19641964

19651965
/**
19661966
* Returns the configuration of the form used to represent this vector layer.
1967-
* This is a writable configuration that can directly be changed in place.
19681967
*
19691968
* \returns The configuration of this layers' form
19701969
*

1 commit comments

Comments
 (1)

nyalldawson commented on Sep 4, 2018

@nyalldawson
Collaborator

Thanks!

Please sign in to comment.