Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and lbartoletti committed Jan 10, 2025
1 parent 8c01754 commit 9e1be4b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/gui/vector/qgsattributesformproperties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2186,7 +2186,7 @@ void QgsAttributesFormProperties::pasteWidgetConfiguration()
QgsReadWriteContext context;
if ( widgetType == QLatin1String( "ValueRelation" ) )
{
optionsMap[ QStringLiteral( "Value" ) ] = context.projectTranslator()->translate( QStringLiteral( "project:layers:%1:fields:%2:valuerelationvalue" ).arg( mLayer->id(), fieldName ), optionsMap[ QStringLiteral( "Value" ) ].toString() );
optionsMap[QStringLiteral( "Value" )] = context.projectTranslator()->translate( QStringLiteral( "project:layers:%1:fields:%2:valuerelationvalue" ).arg( mLayer->id(), fieldName ), optionsMap[QStringLiteral( "Value" )].toString() );
}

config.mEditorWidgetType = widgetType;
Expand Down
1 change: 0 additions & 1 deletion src/gui/vector/qgsattributesformproperties.h
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,6 @@ class GUI_EXPORT QgsAttributesFormProperties : public QWidget, public QgsExpress
QMenu *mAvailableWidgetsTreeContextMenu = nullptr;
QAction *mActionCopyWidgetConfiguration = nullptr;
QAction *mActionPasteWidgetConfiguration = nullptr;

};


Expand Down

0 comments on commit 9e1be4b

Please sign in to comment.