Skip to content

Commit

Permalink
Fix QgsVectorLayerUtils::createFeature
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Sep 29, 2017
1 parent 0dbe588 commit 6e3c01d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsvectorlayerutils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e3c01d

Please sign in to comment.