Skip to content
Permalink
Browse files

DBManager: fix spatial index creation importing a vector layer (fix #…

  • Loading branch information
brushtyler committed Jun 9, 2012
1 parent ed801a4 commit 32920557b76c19c85dddede20533e08fb63d0fe0
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/db_manager/dlg_import_vector.py
@@ -206,7 +206,7 @@ def importLayer(self):
QMessageBox.warning(self, "Import to database", u"Error %d\n%s" % (ret, errMsg) )
return

if self.chkGeomColumn.isChecked() and self.chkSpatialIndex.isChecked():
if self.chkSpatialIndex.isChecked():
self.db.connector.createSpatialIndex( (schema, table), geom )

QMessageBox.information(self, "Import to database", "Import was successful.")

0 comments on commit 3292055

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