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 7cec859 commit 24f3cc554362b9d0c486c0c6e05e241753079f4b
Showing with 4 additions and 0 deletions.
  1. +4 −0 python/plugins/db_manager/dlg_import_vector.py
@@ -74,6 +74,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 24f3cc5

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