Skip to content
Permalink
Browse files

Fix docstring for setEditFormConfig

  • Loading branch information
elpaso committed May 23, 2018
1 parent 45aca2f commit f41daee1cbf2e3773d22554d5090a5771a965388
Showing with 4 additions and 7 deletions.
  1. +2 −3 python/core/auto_generated/qgsvectorlayer.sip.in
  2. +2 −4 src/core/qgsvectorlayer.h
@@ -2143,10 +2143,9 @@ This is a writable configuration that can directly be changed in place.

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

:return: The configuration of this layers' form
.. seealso:: :py:func:`editFormConfig`

.. versionadded:: 3.0
%End
@@ -1924,11 +1924,9 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
QgsEditFormConfig editFormConfig() const;

/**
* Get 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
* Set the \a editFormConfig (configuration) of the form used to represent this vector layer.
*
* \see editFormConfig()
* \since QGIS 3.0
*/
void setEditFormConfig( const QgsEditFormConfig &editFormConfig );

0 comments on commit f41daee

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