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 5d4cf2f commit 010fc7c6404b42c7731e720b9120c7ac45b3fcfb
Showing with 4 additions and 0 deletions.
  1. +4 −0 python/plugins/db_manager/dlg_import_vector.py
@@ -78,6 +78,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 010fc7c

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