Skip to content
Browse files
Fix for ticket #555 - 'identify - some varchar column displayed inste…
…ad of the key column'. This fix just corrects the erroneous way the value of the display field was being set after population, which allows setting 'cat' as the display field. The identify box then shows the results correctly.

git-svn-id: c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Aug 2, 2008
1 parent 845ed72 commit 75f90f75f2fe39b8afcf2bbb6fadf5fb92cadce4
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/app/qgsvectorlayerproperties.cpp
@@ -193,7 +193,8 @@ void QgsVectorLayerProperties::reset( void )
displayFieldComboBox->addItem( it->name() );
displayFieldComboBox->setItemText( displayFieldComboBox->currentIndex(), layer->displayField() );
displayFieldComboBox->setCurrentIndex( displayFieldComboBox->findText(
layer->displayField() ) );

// set up the scale based layer visibility stuff....

0 comments on commit 75f90f7

Please sign in to comment.