Skip to content
Permalink
Browse files

Fix [DB Manager] Allow lowercase field names for homogenize PostGIS I…

…mport
  • Loading branch information
rldhont committed Oct 19, 2016
1 parent 003504a commit d236e30307791c39ef02d11c43d72db4db8c23de
Showing with 4 additions and 0 deletions.
  1. +4 −0 python/plugins/db_manager/dlg_import_vector.py
@@ -76,6 +76,10 @@ def setupWorkingMode(self, mode):

self.editPrimaryKey.setText(self.default_pk)
self.editGeomColumn.setText(self.default_geom)

self.chkLowercaseFieldNames.setEnabled(self.db.hasLowercaseFieldNamesOption())
if not self.chkLowercaseFieldNames.isEnabled():
self.chkLowercaseFieldNames.setChecked(False)
else:
# set default values
self.checkSupports()

0 comments on commit d236e30

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