mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	Fix for bug #1366 table sort order incorrect
git-svn-id: http://svn.osgeo.org/qgis/trunk@9595 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
		
							parent
							
								
									dc0b929f97
								
							
						
					
					
						commit
						933cfb96a7
					
				@ -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 );
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user