Skip to content
Permalink
Browse files

[Identify] Show only layer name in identify results

  • Loading branch information
NathanW2 committed Apr 21, 2014
1 parent 60dc15e commit d7375387a76bf44fd54feaa85fb715415e23ccfb
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsidentifyresultsdialog.cpp
@@ -343,7 +343,7 @@ void QgsIdentifyResultsDialog::addFeature( QgsVectorLayer *vlayer, const QgsFeat

if ( layItem == 0 )
{
layItem = new QTreeWidgetItem( QStringList() << QString::number( lstResults->topLevelItemCount() ) << vlayer->name() );
layItem = new QTreeWidgetItem( QStringList() << vlayer->name() );
layItem->setData( 0, Qt::UserRole, QVariant::fromValue( qobject_cast<QObject *>( vlayer ) ) );
lstResults->addTopLevelItem( layItem );

0 comments on commit d737538

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