Skip to content

Commit

Permalink
Fix [DB Manager] Allow lowercase field names for homogenize PostGIS I…
Browse files Browse the repository at this point in the history
…mport
  • Loading branch information
rldhont committed Oct 19, 2016
1 parent 003504a commit d236e30
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/plugins/db_manager/dlg_import_vector.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit d236e30

Please sign in to comment.