Skip to content
Permalink
Browse files
fix #6848
  • Loading branch information
brushtyler committed Dec 10, 2012
1 parent fc6b338 commit b6c999e776a6b34f6338e3a679509d963193da82
Showing with 3 additions and 3 deletions.
  1. +3 −3 python/plugins/db_manager/dlg_export_vector.py
@@ -58,7 +58,7 @@ def checkSupports(self):
hasGeomType = self.inLayer and self.inLayer.hasGeometryType()
self.chkSourceSrid.setEnabled(allowSpatial and hasGeomType)
self.chkTargetSrid.setEnabled(allowSpatial and hasGeomType)
self.chkSpatialIndex.setEnabled(allowSpatial and hasGeomType)
#self.chkSpatialIndex.setEnabled(allowSpatial and hasGeomType)


def chooseOutputFile(self):
@@ -158,8 +158,8 @@ def accept(self):
return

# create spatial index
if self.chkSpatialIndex.isEnabled() and self.chkSpatialIndex.isChecked():
self.db.connector.createSpatialIndex( (schema, table), geom )
#if self.chkSpatialIndex.isEnabled() and self.chkSpatialIndex.isChecked():
# self.db.connector.createSpatialIndex( (schema, table), geom )

QMessageBox.information(self, "Export to file", "Export finished.")
return QDialog.accept(self)

0 comments on commit b6c999e

Please sign in to comment.