Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix constraint metadata is duplicated after opening layer properties
Fixes #38916

(cherry picked from commit 6a00257)
  • Loading branch information
nyalldawson committed Oct 23, 2020
1 parent 51d19dd commit 7f80077
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/qgsmetadatawidget.cpp
Expand Up @@ -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 )
{
Expand Down

0 comments on commit 7f80077

Please sign in to comment.