Skip to content
Permalink
Browse files
fix #6848
  • Loading branch information
brushtyler committed Dec 10, 2012
1 parent fc6b338 commit b6c999e
Showing 1 changed file with 3 additions and 3 deletions.
@@ -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.