Skip to content
Permalink
Browse files

Fix QgsVectorLayerUtils::createFeature

  • Loading branch information
m-kuhn committed Sep 29, 2017
1 parent 0dbe588 commit 6e3c01dbe7b8460ab7ebea02534d8e198c0dbd19
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsvectorlayerutils.cpp
@@ -259,7 +259,7 @@ QgsFeature QgsVectorLayerUtils::createFeature( QgsVectorLayer *layer, const QgsG
// in order of priority:

// 1. client side default expression
if ( !layer->defaultValueDefinition( idx ).isValid() )
if ( layer->defaultValueDefinition( idx ).isValid() )
{
// client side default expression set - takes precedence over all. Why? Well, this is the only default
// which QGIS users have control over, so we assume that they're deliberately overriding any

0 comments on commit 6e3c01d

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