Skip to content

Commit 95d2271

Browse files
committed
Add missing sip bindings
1 parent 2a5d09f commit 95d2271

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

python/core/qgstransaction.sip

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ class QgsTransaction /Abstract/
3737
/** Add layer to the transaction. The layer must not be in edit mode. The transaction must not be active. */
3838
bool addLayer( const QString& layerId );
3939

40+
/** Add layer to the transaction. The layer must not be in edit mode. The transaction must not be active. */
41+
bool addLayer( QgsVectorLayer* layer );
42+
4043
/** Begin transaction
4144
* The statement timeout, in seconds, specifies how long an sql statement
4245
* is allowed to block QGIS before it is aborted. Statements can block,

0 commit comments

Comments
 (0)