[QGIS Commit] r8543 - trunk/qgis/src/app
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Thu May 29 14:58:58 EDT 2008
Author: jef
Date: 2008-05-29 14:58:57 -0400 (Thu, 29 May 2008)
New Revision: 8543
Modified:
trunk/qgis/src/app/qgsvectorlayerproperties.cpp
Log:
fix for #1118 and #1119
Modified: trunk/qgis/src/app/qgsvectorlayerproperties.cpp
===================================================================
--- trunk/qgis/src/app/qgsvectorlayerproperties.cpp 2008-05-29 15:59:57 UTC (rev 8542)
+++ trunk/qgis/src/app/qgsvectorlayerproperties.cpp 2008-05-29 18:58:57 UTC (rev 8543)
@@ -90,7 +90,7 @@
int capabilities=layer->getDataProvider()->capabilities();
if(!(capabilities&QgsVectorDataProvider::CreateSpatialIndex))
{
- indexGroupBox->setEnabled(false);
+ pbnIndex->setEnabled(false);
}
}
@@ -192,6 +192,7 @@
{
displayFieldComboBox->insertItem( it->name() );
}
+ displayFieldComboBox->setCurrentText( layer->displayField() );
// set up the scale based layer visibility stuff....
chkUseScaleDependentRendering->setChecked(layer->scaleBasedVisibility());
More information about the QGIS-commit
mailing list