Skip to content

Commit 37e9272

Browse files
committedOct 29, 2017
Fix API typo
1 parent 28f2722 commit 37e9272

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎python/core/qgstransaction.sip

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class QgsTransaction : QObject /Abstract/
2323
and all layers need to be in read-only mode for a transaction to be committed
2424
or rolled back.
2525

26-
Layers cannot only be included in one transaction at a time.
26+
Layers can only be included in one transaction at a time.
2727

2828
When editing layers which are part of a transaction group, all changes are
2929
sent directly to the data provider (bypassing the undo/redo stack), and the
@@ -105,7 +105,7 @@ class QgsTransaction : QObject /Abstract/
105105

106106
static bool supportsTransaction( const QgsVectorLayer *layer );
107107
%Docstring
108-
Checks if a the provider of a given ``layer`` supports transactions.
108+
Checks if the provider of a given ``layer`` supports transactions.
109109
:rtype: bool
110110
%End
111111

‎src/core/qgstransaction.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class QgsVectorLayer;
4040
* and all layers need to be in read-only mode for a transaction to be committed
4141
* or rolled back.
4242
*
43-
* Layers cannot only be included in one transaction at a time.
43+
* Layers can only be included in one transaction at a time.
4444
*
4545
* When editing layers which are part of a transaction group, all changes are
4646
* sent directly to the data provider (bypassing the undo/redo stack), and the
@@ -115,7 +115,7 @@ class CORE_EXPORT QgsTransaction : public QObject SIP_ABSTRACT
115115
virtual bool executeSql( const QString &sql, QString &error SIP_OUT, bool isDirty = false ) = 0;
116116

117117
/**
118-
* Checks if a the provider of a given \a layer supports transactions.
118+
* Checks if the provider of a given \a layer supports transactions.
119119
*/
120120
static bool supportsTransaction( const QgsVectorLayer *layer );
121121

0 commit comments

Comments
 (0)
Please sign in to comment.