From 98c33097036124b5f4f83e0f8b78987c3feec43d Mon Sep 17 00:00:00 2001 From: jef Date: Wed, 10 Sep 2008 16:30:00 +0000 Subject: [PATCH] fix #1307 git-svn-id: http://svn.osgeo.org/qgis/trunk@9290 c8812cc2-4d05-0410-92ff-de0c093fc19c --- src/app/qgsattributetable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/qgsattributetable.cpp b/src/app/qgsattributetable.cpp index 069bcdf697d..d71c4a3b43d 100644 --- a/src/app/qgsattributetable.cpp +++ b/src/app/qgsattributetable.cpp @@ -559,7 +559,7 @@ void QgsAttributeTable::bringSelectedToTop() for ( QList::iterator iter = selections.begin();iter != selections.end();++iter ) { removeselection = true; - while ( item( swaptorow, 0 )->isSelected() )//selections are not necessary stored in ascending order + while ( swaptorowisSelected() )//selections are not necessary stored in ascending order { ++swaptorow; }