mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
git-svn-id: http://svn.osgeo.org/qgis/trunk@8543 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
7384134467
commit
3a519b7d65
@ -90,7 +90,7 @@ QgsVectorLayerProperties::QgsVectorLayerProperties(QgsVectorLayer * lyr,
|
||||
int capabilities=layer->getDataProvider()->capabilities();
|
||||
if(!(capabilities&QgsVectorDataProvider::CreateSpatialIndex))
|
||||
{
|
||||
indexGroupBox->setEnabled(false);
|
||||
pbnIndex->setEnabled(false);
|
||||
}
|
||||
}
|
||||
|
||||
@ -192,6 +192,7 @@ void QgsVectorLayerProperties::reset( void )
|
||||
{
|
||||
displayFieldComboBox->insertItem( it->name() );
|
||||
}
|
||||
displayFieldComboBox->setCurrentText( layer->displayField() );
|
||||
|
||||
// set up the scale based layer visibility stuff....
|
||||
chkUseScaleDependentRendering->setChecked(layer->scaleBasedVisibility());
|
||||
|
Loading…
x
Reference in New Issue
Block a user