Skip to content

Commit

Permalink
fix #1307
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9290 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Sep 10, 2008
1 parent 4352d30 commit 99a5a1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsattributetable.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit 99a5a1b

Please sign in to comment.