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 7cec859 commit 24f3cc5
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 @@ -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()
Expand Down

0 comments on commit 24f3cc5

Please sign in to comment.