Allow TiedPropertyList to fire valueChanged
This commit is contained in:
parent
92ebdbfacc
commit
21e21a1fa8
@ -134,6 +134,13 @@ public:
|
|||||||
for (std::vector<SGPropertyNode_ptr>::iterator it=begin() ; it < end(); it++ )
|
for (std::vector<SGPropertyNode_ptr>::iterator it=begin() ; it < end(); it++ )
|
||||||
(*it)->setAttribute(attr, state);
|
(*it)->setAttribute(attr, state);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void fireValueChanged()
|
||||||
|
{
|
||||||
|
for (const auto& p : *this) {
|
||||||
|
p->fireValueChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
private:
|
private:
|
||||||
SGPropertyNode_ptr _root;
|
SGPropertyNode_ptr _root;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user