Skip to content

Commit 010fc7c

Browse files
committedOct 19, 2016
Fix [DB Manager] Allow lowercase field names for homogenize PostGIS Import
1 parent 5d4cf2f commit 010fc7c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎python/plugins/db_manager/dlg_import_vector.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ def setupWorkingMode(self, mode):
7878

7979
self.editPrimaryKey.setText(self.default_pk)
8080
self.editGeomColumn.setText(self.default_geom)
81+
82+
self.chkLowercaseFieldNames.setEnabled(self.db.hasLowercaseFieldNamesOption())
83+
if not self.chkLowercaseFieldNames.isEnabled():
84+
self.chkLowercaseFieldNames.setChecked(False)
8185
else:
8286
# set default values
8387
self.checkSupports()

0 commit comments

Comments
 (0)
Please sign in to comment.