Skip to content
Permalink
Browse files

raster identify - keep format above others

  • Loading branch information
blazek committed May 20, 2013
1 parent 65d3535 commit 7eacf42b7e7cac81830d52fae4c4f219c4160874
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/app/qgsidentifyresultsdialog.cpp
@@ -492,7 +492,8 @@ void QgsIdentifyResultsDialog::addFeature( QgsRasterLayer *layer,
if ( formatCombo->count() > 1 )
{
// Add format combo box item
QTreeWidgetItem *formatItem = new QTreeWidgetItem( QStringList() << tr( "Format" ) );
// Space added before format to keep it first in ordered list: TODO better (user data)
QTreeWidgetItem *formatItem = new QTreeWidgetItem( QStringList() << " " + tr( "Format" ) );
layItem->addChild( formatItem );
lstResults->setItemWidget( formatItem, 1, formatCombo );
connect( formatCombo, SIGNAL( currentIndexChanged( int ) ), this, SLOT( formatChanged( int ) ) );

0 comments on commit 7eacf42

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