Skip to content
Permalink
Browse files

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 8b734c8ee9e36dbb8fd9edec2c684e43e16c5e60
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsidentifyresultsdialog.cpp
@@ -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;

0 comments on commit 8b734c8

Please sign in to comment.
You can’t perform that action at this time.