Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
raster identify - keep format above others
  • Loading branch information
blazek committed May 20, 2013
1 parent 65d3535 commit 7eacf42
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/qgsidentifyresultsdialog.cpp
Expand Up @@ -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 ) ) );
Expand Down

0 comments on commit 7eacf42

Please sign in to comment.