Skip to content

Commit

Permalink
fix feature title
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Sep 29, 2014
1 parent 8c502c1 commit f571cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsidentifymenu.cpp
Expand Up @@ -331,7 +331,7 @@ void QgsIdentifyMenu::addVectorLayer( QgsVectorLayer* layer, const QList<QgsMapT
// feature title
QString featureTitle = result.mFeature.attribute( layer->displayField() ).toString();
if ( featureTitle.isEmpty() )
featureTitle = result.mFeature.id();
featureTitle = QString( "%1" ).arg( result.mFeature.id() );

if ( !customFeatureActions.count() && ( !featureActionMenu || !featureActionMenu->actions().count() ) )
{
Expand Down

0 comments on commit f571cdd

Please sign in to comment.