Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix feature id handling when opening feature form from identify resul…
…ts (fixes #13289)

(cherry picked from commit 5326c6b)
  • Loading branch information
jef-n committed Aug 31, 2015
1 parent fce7705 commit 8b734c8
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 8b734c8

Please sign in to comment.