Skip to content
Permalink
Browse files

Applied patch for bug #938. Thanks to smizuno!

git-svn-id: http://svn.osgeo.org/qgis/trunk@8166 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Feb 19, 2008
1 parent fcb2637 commit 88c839a64f6c80898980c3f63f878a10301e8fbc
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/app/qgsattributetabledisplay.cpp
@@ -82,11 +82,11 @@ QgsAttributeTableDisplay::QgsAttributeTableDisplay(QgsVectorLayer* layer, QgisAp
QgsVectorDataProvider* provider = mLayer->getDataProvider();
if (provider)
{
const QgsFieldMap& fields = provider->fields();
int fieldcount = provider->fieldCount();
for (int h = 0; h < fieldcount; h++)
const QgsFieldMap& xfields = provider->fields();
QgsFieldMap::const_iterator fldIt;
for (fldIt = xfields.constBegin(); fldIt != xfields.constEnd(); ++fldIt)
{
mSearchColumns->insertItem(fields[h].name());
mSearchColumns->insertItem(fldIt->name());
}
}

0 comments on commit 88c839a

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