mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
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:
parent
144b56afae
commit
7393675362
@ -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 );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user