mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Disable 'create spatial index' fix for 0.9
git-svn-id: http://svn.osgeo.org/qgis/trunk@6719 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
2ed9f06828
commit
dc61196063
@ -72,9 +72,9 @@ QgsVectorLayerProperties::QgsVectorLayerProperties(QgsVectorLayer * lyr,
|
||||
if(layer->getDataProvider())//enable spatial index button group if supported by provider
|
||||
{
|
||||
int capabilities=layer->getDataProvider()->capabilities();
|
||||
if(capabilities&QgsVectorDataProvider::CreateSpatialIndex)
|
||||
if(!(capabilities&QgsVectorDataProvider::CreateSpatialIndex))
|
||||
{
|
||||
indexGroupBox->setEnabled(true);
|
||||
indexGroupBox->setEnabled(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user