Skip to content

Commit

Permalink
Fix for bug #1366 table sort order incorrect
Browse files Browse the repository at this point in the history
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 b2cce3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsattributetable.cpp
Expand Up @@ -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 );
Expand Down

0 comments on commit b2cce3c

Please sign in to comment.