Well, that wasn't as bad as I thought: I fixed the string list project file

bug.  Now only ONE copy of string list keys is written to project files.

So, now writing should work for all types.

Unfortunately implementing the _reading_ part will have to wait until Monday.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2286 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
mcoletti 2004-11-19 23:03:16 +00:00
parent 144b56afae
commit 7393675362

View File

@ -353,7 +353,7 @@ public:
if ( keyName.empty() ) // then we have a leaf node
{
properties_.insert( currentKey, new PropertyValue );
properties_.replace( currentKey, new PropertyValue );
return properties_[currentKey]->setValue( keyName, value );
}
@ -363,7 +363,7 @@ public:
}
else
{
properties_.insert( currentKey, new PropertyKey );
properties_.replace( currentKey, new PropertyKey );
return properties_[currentKey]->setValue( keyName, value );
}