From: <mco...@us...> - 2005-11-09 21:22:41
|
Update of /cvsroot/qgis/qgis/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14570 Modified Files: Tag: multiple-layers-branch qgsvectorlayer.cpp Log Message: Need to specify which data provider layer when requesting field data, too. Index: qgsvectorlayer.cpp =================================================================== RCS file: /cvsroot/qgis/qgis/src/qgsvectorlayer.cpp,v retrieving revision 1.228.2.8 retrieving revision 1.228.2.9 diff -C2 -d -r1.228.2.8 -r1.228.2.9 *** qgsvectorlayer.cpp 9 Nov 2005 20:41:05 -0000 1.228.2.8 --- qgsvectorlayer.cpp 9 Nov 2005 21:22:33 -0000 1.228.2.9 *************** *** 283,287 **** QString idxId=""; ! std::vector < QgsField > fields = getDataProvider()->fields(); if(!fldName.isEmpty()) { --- 283,287 ---- QString idxId=""; ! std::vector < QgsField > fields = getDataProvider()->fields(dataSourceLayerNum()); if(!fldName.isEmpty()) { |