Skip to content
Permalink
Browse files
Fix for bug #1366 table sort order incorrect
git-svn-id: http://svn.osgeo.org/qgis/trunk@9595 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Nov 8, 2008
1 parent dc0b929 commit 933cfb96a71871e79ae93d6cc12575caac7fad5d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsattributetable.cpp
@@ -457,7 +457,7 @@ void QgsAttributeTable::fillTable( QgsVectorLayer *layer )
QTableWidgetItem *twi = new QTableWidgetItem( fldIt->name() );
twi->setData( AttributeIndex, fldIt.key() );
twi->setData( AttributeName, fldIt->name() );
twi->setData( AttributeType, fldIt->type() );
twi->setData( QgsAttributeTable::AttributeType, (int)(fldIt->type()));
setHorizontalHeaderItem( h, twi );

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

0 comments on commit 933cfb9

Please sign in to comment.