Skip to content
Permalink
Browse files

Hey, this isn't pal or openoffice... comments in English please!

  • Loading branch information
nyalldawson committed Jan 16, 2018
1 parent f3f1b8e commit 749468a971a3d09987d20952ce10fba1286402f4
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/app/qgsattributesformproperties.cpp
@@ -291,7 +291,6 @@ void QgsAttributesFormProperties::storeAttributeTypeDialog()

cfg.mConstraintDescription = mAttributeTypeDialog->constraintExpressionDescription();
cfg.mConstraint = mAttributeTypeDialog->constraintExpression();
//confustion (will be removed): das hier funktioniert nicht, es is neu, aber ich weiss nicht woher: mLayer->setDefaultValueExpression( mAttributeTypeDialog->fieldIdx(), mAttributeTypeDialog->defaultValueExpression() );
mLayer->setDefaultValueDefinition( mAttributeTypeDialog->fieldIdx(), QgsDefaultValue( mAttributeTypeDialog->defaultValueExpression(), mAttributeTypeDialog->applyDefaultValueOnUpdate() ) );

cfg.mEditorWidgetType = mAttributeTypeDialog->editorWidgetType();

0 comments on commit 749468a

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