Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[layertree] Fix python issues with addLayer()
  • Loading branch information
wonder-sk committed Jun 4, 2014
1 parent aa05126 commit da63ba4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/core/layertree/qgslayertreegroup.sip
Expand Up @@ -15,9 +15,9 @@ class QgsLayerTreeGroup : QgsLayerTreeNode
QString name() const;
void setName( const QString& n );

QgsLayerTreeGroup* addGroup( const QString& name ) /Factory/;
QgsLayerTreeLayer* insertLayer( int index, QgsMapLayer* layer ) /Factory/;
QgsLayerTreeLayer* addLayer( QgsMapLayer* layer ) /Factory/;
QgsLayerTreeGroup* addGroup( const QString& name );
QgsLayerTreeLayer* insertLayer( int index, QgsMapLayer* layer );
QgsLayerTreeLayer* addLayer( QgsMapLayer* layer );

void insertChildNodes( int index, QList<QgsLayerTreeNode*> nodes /Transfer/ );
void insertChildNode( int index, QgsLayerTreeNode* node /Transfer/ );
Expand Down

0 comments on commit da63ba4

Please sign in to comment.