diff --git a/python/core/qgstransaction.sip b/python/core/qgstransaction.sip index dcd1bac745d..760211f744e 100644 --- a/python/core/qgstransaction.sip +++ b/python/core/qgstransaction.sip @@ -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 diff --git a/src/core/qgstransaction.h b/src/core/qgstransaction.h index 9e474d67f69..de1b5be14f6 100644 --- a/src/core/qgstransaction.h +++ b/src/core/qgstransaction.h @@ -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 );