Skip to content
Permalink
Browse files

Fix constraint metadata is duplicated after opening layer properties

Fixes #38916
  • Loading branch information
nyalldawson committed Sep 22, 2020
1 parent 7e2d931 commit 6a002573c00a8a8e11443eaca28b57a8ad6de4c0
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/gui/qgsmetadatawidget.cpp
@@ -542,6 +542,7 @@ void QgsMetadataWidget::setUiFromMetadata()
mRightsModel->setStringList( layerMetadata->rights() );

// Constraints
mConstraintsModel->clear();
const QList<QgsLayerMetadata::Constraint> &constraints = layerMetadata->constraints();
for ( const QgsLayerMetadata::Constraint &constraint : constraints )
{

0 comments on commit 6a00257

Please sign in to comment.
You can’t perform that action at this time.