Skip to content

Commit

Permalink
fix feature id handling when opening feature form from identify resul…
Browse files Browse the repository at this point in the history
…ts (fixes #13289)
  • Loading branch information
jef-n committed Aug 31, 2015
1 parent b9f6d78 commit 5326c6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsidentifyresultsdialog.cpp
Expand Up @@ -1580,7 +1580,7 @@ void QgsIdentifyResultsDialog::featureForm()
if ( !featItem )
return;

int fid = STRING_TO_FID( featItem->data( 0, Qt::UserRole ) );
QgsFeatureId fid = STRING_TO_FID( featItem->data( 0, Qt::UserRole ) );
int idx = featItem->data( 0, Qt::UserRole + 1 ).toInt();

QgsFeature f;
Expand Down

0 comments on commit 5326c6b

Please sign in to comment.