git-svn-id: http://svn.osgeo.org/qgis/trunk@9290 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
jef 2008-09-10 16:30:00 +00:00
parent f7828e68e1
commit 98c3309703

View File

@ -559,7 +559,7 @@ void QgsAttributeTable::bringSelectedToTop()
for ( QList<QTableWidgetSelectionRange>::iterator iter = selections.begin();iter != selections.end();++iter )
{
removeselection = true;
while ( item( swaptorow, 0 )->isSelected() )//selections are not necessary stored in ascending order
while ( swaptorow<rowCount() && item( swaptorow, 0 )->isSelected() )//selections are not necessary stored in ascending order
{
++swaptorow;
}