diff --git a/src/Model/modelmgr.cxx b/src/Model/modelmgr.cxx index 0928b2c64..16657baec 100644 --- a/src/Model/modelmgr.cxx +++ b/src/Model/modelmgr.cxx @@ -225,7 +225,7 @@ FGModelMgr::Instance::~Instance () void FGModelMgr::Listener::childAdded(SGPropertyNode * parent, SGPropertyNode * child) { - if (strcmp(parent->getName(), "model") || strcmp(child->getName(), "add")) + if (strcmp(parent->getName(), "model") || strcmp(child->getName(), "load")) return; try {