diff --git a/src/gui/vector/qgsattributesformproperties.cpp b/src/gui/vector/qgsattributesformproperties.cpp index 1ea23b16b2dd..64b1e653de00 100644 --- a/src/gui/vector/qgsattributesformproperties.cpp +++ b/src/gui/vector/qgsattributesformproperties.cpp @@ -147,7 +147,7 @@ void QgsAttributesFormProperties::initAvailableWidgetsTree() { QString name; const QgsPolymorphicRelation polymorphicRelation = relation.polymorphicRelation(); - if( polymorphicRelation.isValid() ) + if ( polymorphicRelation.isValid() ) { name = QStringLiteral( "%1 (%2)" ).arg( relation.name(), polymorphicRelation.name() ); }