Skip to content
Permalink
Browse files
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 dbb26cb98c384c9cbbca5b5dd337041a0f4749bf
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsrelationeditorwidget.cpp
@@ -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 );

0 comments on commit dbb26cb

Please sign in to comment.