diff --git a/simgear/props/tiedpropertylist.hxx b/simgear/props/tiedpropertylist.hxx index 7fb354c4..dcefe222 100644 --- a/simgear/props/tiedpropertylist.hxx +++ b/simgear/props/tiedpropertylist.hxx @@ -130,6 +130,12 @@ public: pop_back(); } } + + void setAttribute (SGPropertyNode::Attribute attr, bool state) + { + for (std::vector::iterator it=begin() ; it < end(); it++ ) + (*it)->setAttribute(attr, state); + } private: SGPropertyNode_ptr _root; };