We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 4352d30 commit 99a5a1bCopy full SHA for 99a5a1b
src/app/qgsattributetable.cpp
@@ -559,7 +559,7 @@ void QgsAttributeTable::bringSelectedToTop()
559
for ( QList<QTableWidgetSelectionRange>::iterator iter = selections.begin();iter != selections.end();++iter )
560
{
561
removeselection = true;
562
- 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
563
564
++swaptorow;
565
}
0 commit comments