Skip to content
Permalink
Browse files
Fix for bug #1366 table sort order incorrect
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9595 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Nov 8, 2008
1 parent e800766 commit b2cce3c9b3c9b7c3578701cd51c52ec711503c09
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 b2cce3c

Please sign in to comment.