Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Jul 10, 2024
1 parent d1565cd commit 2944120
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/gui/testqgsattributeform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1120,14 +1120,14 @@ void TestQgsAttributeForm::testParentFeatureUpdate()
layer->setDefaultValueDefinition( 0, QgsDefaultValue( QStringLiteral( "current_parent_value('colZero\')" ), true ) );
layer->startEditing();

// initalize parent feature
// initialize parent feature
QgsFields parentFields;
parentFields.append( QgsField( QStringLiteral( "colZero" ), QMetaType::Type::Int ) );

QgsFeature parentFeature( parentFields, 1 );
parentFeature.setAttribute( QStringLiteral( "colZero" ), 10 );

// initalize child feature
// initialize child feature
QgsFeature feature( layer->dataProvider()->fields(), 1 );

// build a form
Expand Down

0 comments on commit 2944120

Please sign in to comment.