Skip to content
Permalink
Browse files

Silence warning

  • Loading branch information
nyalldawson committed Nov 5, 2017
1 parent edcaf05 commit d8b671d9ce8fb77477f98b869c4867b8cbf1e40e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsvectorlayerundopassthroughcommand.cpp
@@ -31,7 +31,7 @@

QgsVectorLayerUndoPassthroughCommand::QgsVectorLayerUndoPassthroughCommand( QgsVectorLayerEditBuffer *buffer, const QString &text, bool autocreate )
: QgsVectorLayerUndoCommand( buffer )
, mSavePointId( mBuffer->L->isEditCommandActive() && !mBuffer->L->dataProvider()->transaction()->savePoints().isEmpty()
, mSavePointId( ( mBuffer->L->isEditCommandActive() && !mBuffer->L->dataProvider()->transaction()->savePoints().isEmpty() )
|| !autocreate
? mBuffer->L->dataProvider()->transaction()->savePoints().last()
: mBuffer->L->dataProvider()->transaction()->createSavepoint( mError ) )

0 comments on commit d8b671d

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