Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 933cfb9
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 933cfb9

Please sign in to comment.