Skip to content

Commit

Permalink
[maptools] Fix copying of identified vector tile layer feature's attr…
Browse files Browse the repository at this point in the history
…ibute value
  • Loading branch information
nirvn authored and github-actions[bot] committed Oct 25, 2023
1 parent 5a25e2f commit 7ce2ddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsidentifyresultsdialog.cpp
Expand Up @@ -1270,7 +1270,7 @@ void QgsIdentifyResultsDialog::addFeature( QgsVectorTileLayer *layer,
attrItem->setData( 0, Qt::UserRole, fields.at( i ).name() );
attrItem->setData( 0, Qt::UserRole + 1, i );

attrItem->setData( 1, Qt::UserRole, value );
attrItem->setData( 1, REPRESENTED_VALUE_ROLE, value );
attrItem->setSortData( 1, value );
attrItem->setToolTip( 1, value );
bool foundLinks = false;
Expand Down

0 comments on commit 7ce2ddd

Please sign in to comment.