mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-15 00:02:52 -04:00
Fix [DB Manager] Allow lowercase field names for homogenize PostGIS Import
This commit is contained in:
parent
5d4cf2fd4d
commit
010fc7c640
@ -78,6 +78,10 @@ class DlgImportVector(QDialog, Ui_Dialog):
|
||||
|
||||
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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user