Skip to content

Commit

Permalink
Merge pull request #4834 from mhugo/fix_attribute_element_sip
Browse files Browse the repository at this point in the history
Fix QgsAttributeEditorContainer SIP
  • Loading branch information
nyalldawson authored Jul 11, 2017
2 parents 726936e + 224c4c1 commit 67c6e8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/core/qgsattributeeditorelement.sip
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ class QgsAttributeEditorContainer : QgsAttributeEditorElement

virtual ~QgsAttributeEditorContainer();

virtual void addChildElement( QgsAttributeEditorElement *element );
virtual void addChildElement( QgsAttributeEditorElement *element /Transfer/ );
%Docstring
Add a child element to this container. This may be another container, a field or a relation.

Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsattributeeditorelement.h
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ class CORE_EXPORT QgsAttributeEditorContainer : public QgsAttributeEditorElement
*
* \param element The element to add as child
*/
virtual void addChildElement( QgsAttributeEditorElement *element );
virtual void addChildElement( QgsAttributeEditorElement *element SIP_TRANSFER );

/**
* Determines if this container is rendered as collapsible group box or tab in a tabwidget
Expand Down

0 comments on commit 67c6e8f

Please sign in to comment.