diff --git a/simgear/props/props_test.cxx b/simgear/props/props_test.cxx index f4b6c6fe..5d90aee0 100644 --- a/simgear/props/props_test.cxx +++ b/simgear/props/props_test.cxx @@ -660,6 +660,7 @@ void testListener() // recursive listen { TestListener l(tree.get(), true /* recursive */); + tree->setAttribute(SGPropertyNode::VALUE_CHANGED_DOWN, true); tree->getNode("position/body")->addChangeListener(&l); tree->getNode("controls/")->addChangeListener(&l); @@ -919,7 +920,7 @@ void testDeleterListener() { SGPropertyNode_ptr tree = new SGPropertyNode; defineSamplePropertyTree(tree); - + tree->setAttribute(SGPropertyNode::VALUE_CHANGED_DOWN, true); // recursive listen {