4952.patch
src/app/qgsattributedialog.cpp | ||
---|---|---|
63 | 63 | |
64 | 64 |
QgsAttributeMap myAttributes = mFeature->attributeMap(); |
65 | 65 | |
66 |
QString theStorageType = vl->storageType(); |
|
67 |
|
|
68 | ||
66 | 69 |
QDialogButtonBox *buttonBox = NULL; |
67 | 70 | |
68 | 71 |
if ( !vl->editForm().isEmpty() ) |
... | ... | |
132 | 135 |
{ |
133 | 136 |
const QgsField &field = theFieldMap[it.key()]; |
134 | 137 | |
138 |
// -------------------------- |
|
139 |
if ( theStorageType.contains( QString( "spatialite" ), Qt::CaseInsensitive ) ) |
|
140 |
{ |
|
141 |
if ( field.name() == "pkuid" ) |
|
142 |
{ |
|
143 |
continue; |
|
144 |
} |
|
145 |
} |
|
135 | 146 |
//show attribute alias if available |
136 | 147 |
QString myFieldName = vl->attributeDisplayName( it.key() ); |
137 | 148 |
int myFieldType = field.type(); |