fixes in Settings/g_configs

This commit is contained in:
Eduardo Bart
2012-02-01 22:10:55 -02:00
parent 98ef0e4574
commit 34f9ecb6c8
5 changed files with 30 additions and 11 deletions

View File

@@ -147,6 +147,7 @@ void OTMLNode::write(const T& v) {
template<typename T>
void OTMLNode::writeAt(const std::string& childTag, const T& v) {
OTMLNodePtr child = OTMLNode::create(childTag);
child->setUnique(true);
child->write<T>(v);
addChild(child);
}