Skip to content

Commit

Permalink
Fix links are doubled in metadata widget
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Feb 20, 2018
1 parent 56b1ede commit 6a9f986
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/qgsmetadatawidget.cpp
Expand Up @@ -531,6 +531,7 @@ void QgsMetadataWidget::setPropertiesFromLayer()

// Links
const QList<QgsLayerMetadata::Link> &links = mMetadata.links();
mLinksModel->setRowCount( 0 );
for ( const QgsLayerMetadata::Link &link : links )
{
int row = mLinksModel->rowCount();
Expand Down

0 comments on commit 6a9f986

Please sign in to comment.