Skip to content

Commit f41daee

Browse files
committed
Fix docstring for setEditFormConfig
1 parent 45aca2f commit f41daee

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2143,10 +2143,9 @@ This is a writable configuration that can directly be changed in place.
21432143

21442144
void setEditFormConfig( const QgsEditFormConfig &editFormConfig );
21452145
%Docstring
2146-
Get the configuration of the form used to represent this vector layer.
2147-
This is a writable configuration that can directly be changed in place.
2146+
Set the ``editFormConfig`` (configuration) of the form used to represent this vector layer.
21482147

2149-
:return: The configuration of this layers' form
2148+
.. seealso:: :py:func:`editFormConfig`
21502149

21512150
.. versionadded:: 3.0
21522151
%End

‎src/core/qgsvectorlayer.h‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1924,11 +1924,9 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
19241924
QgsEditFormConfig editFormConfig() const;
19251925

19261926
/**
1927-
* Get the configuration of the form used to represent this vector layer.
1928-
* This is a writable configuration that can directly be changed in place.
1929-
*
1930-
* \returns The configuration of this layers' form
1927+
* Set the \a editFormConfig (configuration) of the form used to represent this vector layer.
19311928
*
1929+
* \see editFormConfig()
19321930
* \since QGIS 3.0
19331931
*/
19341932
void setEditFormConfig( const QgsEditFormConfig &editFormConfig );

0 commit comments

Comments
 (0)