Skip to content
Permalink
Browse files

fix for #1118 and #1119

git-svn-id: http://svn.osgeo.org/qgis/trunk@8543 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed May 29, 2008
1 parent 7384134 commit 3a519b7d65e59bfa3677c9328d98fb1337517788
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/app/qgsvectorlayerproperties.cpp
@@ -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());

0 comments on commit 3a519b7

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