Skip to content

Commit

Permalink
improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
signedav committed Aug 17, 2020
1 parent 458d39c commit 79d50da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/editorwidgets/qgsrelationwidgetwrapper.cpp
Expand Up @@ -155,7 +155,7 @@ void QgsRelationWidgetWrapper::initWidget( QWidget *editor )

QgsAttributeEditorContext myContext( QgsAttributeEditorContext( context(), mRelation, QgsAttributeEditorContext::Multiple, QgsAttributeEditorContext::Embed ) );

// read the legacy config of force-suppress-popup to support settings made by the API and autoconfigurated forms
// read the legacy config of force-suppress-popup to support settings made on autoconfigurated forms
// it will be overwritten on specific widget configuration
if ( config( QStringLiteral( "force-suppress-popup" ), false ).toBool() )
{
Expand All @@ -169,7 +169,7 @@ void QgsRelationWidgetWrapper::initWidget( QWidget *editor )
}
*/

// read the legacy config of nm-rel to support settings made by the API and autoconfigurated forms
// read the legacy config of nm-rel to support settings made on autoconfigurated forms
// it will be overwritten on specific widget configuration
mNmRelation = QgsProject::instance()->relationManager()->relation( config( QStringLiteral( "nm-rel" ) ).toString() );

Expand Down

0 comments on commit 79d50da

Please sign in to comment.