Skip to content
Permalink
Browse files

Fix API typo

  • Loading branch information
m-kuhn committed Oct 28, 2017
1 parent 28f2722 commit 37e9272f3d8579d477580a6486d20bea67ca10c8
Showing with 4 additions and 4 deletions.
  1. +2 −2 python/core/qgstransaction.sip
  2. +2 −2 src/core/qgstransaction.h
@@ -23,7 +23,7 @@ class QgsTransaction : QObject /Abstract/
and all layers need to be in read-only mode for a transaction to be committed
or rolled back.

Layers cannot only be included in one transaction at a time.
Layers can only be included in one transaction at a time.

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

static bool supportsTransaction( const QgsVectorLayer *layer );
%Docstring
Checks if a the provider of a given ``layer`` supports transactions.
Checks if the provider of a given ``layer`` supports transactions.
:rtype: bool
%End

@@ -40,7 +40,7 @@ class QgsVectorLayer;
* and all layers need to be in read-only mode for a transaction to be committed
* or rolled back.
*
* Layers cannot only be included in one transaction at a time.
* Layers can only be included in one transaction at a time.
*
* When editing layers which are part of a transaction group, all changes are
* 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
virtual bool executeSql( const QString &sql, QString &error SIP_OUT, bool isDirty = false ) = 0;

/**
* Checks if a the provider of a given \a layer supports transactions.
* Checks if the provider of a given \a layer supports transactions.
*/
static bool supportsTransaction( const QgsVectorLayer *layer );

0 comments on commit 37e9272

Please sign in to comment.
You can’t perform that action at this time.