Skip to content

Commit 933cfb9

Browse files
author
mhugent
committed
Fix for bug #1366 table sort order incorrect
git-svn-id: http://svn.osgeo.org/qgis/trunk@9595 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent dc0b929 commit 933cfb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/qgsattributetable.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ void QgsAttributeTable::fillTable( QgsVectorLayer *layer )
457457
QTableWidgetItem *twi = new QTableWidgetItem( fldIt->name() );
458458
twi->setData( AttributeIndex, fldIt.key() );
459459
twi->setData( AttributeName, fldIt->name() );
460-
twi->setData( AttributeType, fldIt->type() );
460+
twi->setData( QgsAttributeTable::AttributeType, (int)(fldIt->type()));
461461
setHorizontalHeaderItem( h, twi );
462462

463463
mAttrIdxMap.insert( fldIt.key(), h );

0 commit comments

Comments
 (0)