Skip to content

Commit 67c6e8f

Browse files
authoredJul 11, 2017
Merge pull request #4834 from mhugo/fix_attribute_element_sip
Fix QgsAttributeEditorContainer SIP
2 parents 726936e + 224c4c1 commit 67c6e8f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎python/core/qgsattributeeditorelement.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ class QgsAttributeEditorContainer : QgsAttributeEditorElement
147147

148148
virtual ~QgsAttributeEditorContainer();
149149

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

‎src/core/qgsattributeeditorelement.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ class CORE_EXPORT QgsAttributeEditorContainer : public QgsAttributeEditorElement
185185
*
186186
* \param element The element to add as child
187187
*/
188-
virtual void addChildElement( QgsAttributeEditorElement *element );
188+
virtual void addChildElement( QgsAttributeEditorElement *element SIP_TRANSFER );
189189

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

0 commit comments

Comments
 (0)
Please sign in to comment.