Skip to content

Commit

Permalink
label text and comment
Browse files Browse the repository at this point in the history
  • Loading branch information
signedav committed Dec 16, 2019
1 parent bfde960 commit f2dbb2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/gui/qgsexpressionbuilderwidget.cpp
Expand Up @@ -481,7 +481,7 @@ void QgsExpressionBuilderWidget::fillFieldValues( const QString &fieldName, int
const QgsVectorLayer *layer = mLayer;
int layerFieldIndex = fieldIndex;

// if it's a request for the values of the referenced layer
// request for values of the referenced layer on a relation reference widget field
if ( cbxRelatedLayerValues->isChecked() && setup.config().contains( QStringLiteral( "Relation" ) ) )
{
QgsVectorLayer *referencedLayer = mProject->relationManager()->relation( setup.config()[QStringLiteral( "Relation" )].toString() ).referencedLayer();
Expand Down
2 changes: 1 addition & 1 deletion src/ui/qgsexpressionbuilder.ui
Expand Up @@ -581,7 +581,7 @@
<item row="2" column="0" colspan="2">
<widget class="QCheckBox" name="cbxRelatedLayerValues">
<property name="text">
<string>Show all values of referenced layer</string>
<string>Show values of referenced layer</string>
</property>
</widget>
</item>
Expand Down

0 comments on commit f2dbb2e

Please sign in to comment.