We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc0b929 commit 933cfb9Copy full SHA for 933cfb9
src/app/qgsattributetable.cpp
@@ -457,7 +457,7 @@ void QgsAttributeTable::fillTable( QgsVectorLayer *layer )
457
QTableWidgetItem *twi = new QTableWidgetItem( fldIt->name() );
458
twi->setData( AttributeIndex, fldIt.key() );
459
twi->setData( AttributeName, fldIt->name() );
460
- twi->setData( AttributeType, fldIt->type() );
+ twi->setData( QgsAttributeTable::AttributeType, (int)(fldIt->type()));
461
setHorizontalHeaderItem( h, twi );
462
463
mAttrIdxMap.insert( fldIt.key(), h );
0 commit comments