Skip to content
Permalink
Browse files

Fix #9376 (crash when sorting attribute table with no attributes)

  • Loading branch information
wonder-sk committed Feb 10, 2014
1 parent d66ecf6 commit db29ebcffbc8a7b16331dd49da17f25662315e07
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/gui/attributetable/qgsattributetablemodel.cpp
@@ -699,6 +699,8 @@ void QgsAttributeTableModel::prefetchColumnData( int column )
}
else
{
if ( column >= mAttributes.count() )
return;
int fieldId = mAttributes[ column ];
const QgsFields& fields = layer()->pendingFields();
QStringList fldNames;

0 comments on commit db29ebc

Please sign in to comment.
You can’t perform that action at this time.