Skip to content

Commit

Permalink
fix for #1118 and #1119
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@8543 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed May 29, 2008
1 parent 7384134 commit 3a519b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/qgsvectorlayerproperties.cpp
Expand Up @@ -90,7 +90,7 @@ QgsVectorLayerProperties::QgsVectorLayerProperties(QgsVectorLayer * lyr,
int capabilities=layer->getDataProvider()->capabilities();
if(!(capabilities&QgsVectorDataProvider::CreateSpatialIndex))
{
indexGroupBox->setEnabled(false);
pbnIndex->setEnabled(false);
}
}

Expand Down Expand Up @@ -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());
Expand Down

0 comments on commit 3a519b7

Please sign in to comment.