Skip to content

Commit

Permalink
Merge pull request #6413 from mhugo/master
Browse files Browse the repository at this point in the history
Fix call to representValue in identifydialog (refs #17175)
  • Loading branch information
Hugo Mercier committed Feb 22, 2018
2 parents 5eb3e6b + 5e70e96 commit e06e95c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsidentifyresultsdialog.cpp
Expand Up @@ -610,7 +610,7 @@ void QgsIdentifyResultsDialog::addFeature( QgsVectorLayer *vlayer, const QgsFeat

QString value = fields.at( i ).displayString( attrs.at( i ) );
const QgsEditorWidgetSetup setup = QgsGui::editorWidgetRegistry()->findBest( vlayer, fields.at( i ).name() );
QString value2 = representValue( vlayer, setup, fields.at( i ).name(), value );
QString value2 = representValue( vlayer, setup, fields.at( i ).name(), attrs.at( i ) );

tblResults->setRowCount( j + 1 );

Expand Down

0 comments on commit e06e95c

Please sign in to comment.