Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update src/gui/qgsrelationeditorwidget.cpp
Co-authored-by: Julien Cabieces <julien.cabieces@oslandia.com>
  • Loading branch information
domi4484 and troopa81 committed Nov 17, 2021
1 parent 42263ca commit dbb26cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsrelationeditorwidget.cpp
Expand Up @@ -589,7 +589,7 @@ void QgsRelationEditorWidget::updateUi()
treeWidgetItemChild->setText( 0, QgsVectorLayerUtils::getFeatureDisplayString( mNmRelation.referencedLayer(), featureChildChild ) );
treeWidgetItemChild->setIcon( 0, QgsIconUtils::iconForLayer( mNmRelation.referencedLayer() ) );

// For nm relations deleting/unlinking ist not supported now, so selection
// For nm relations deleting/unlinking is not supported now, so selection
// is also not possible
if ( nmRelation().isValid() )
treeWidgetItem->setFlags( Qt::ItemIsEnabled );
Expand Down

0 comments on commit dbb26cb

Please sign in to comment.