diff --git a/src/ant/ant/antPlugin.cc b/src/ant/ant/antPlugin.cc index 2c19ec65e..360e2769a 100644 --- a/src/ant/ant/antPlugin.cc +++ b/src/ant/ant/antPlugin.cc @@ -210,7 +210,7 @@ PluginDeclaration::initialized (lay::Dispatcher *root) // This provides a migration path from earlier versions (not having templates) to recent ones. std::map cat_names; for (auto i = m_templates.begin (); i != m_templates.end (); ++i) { - if (! i->category ().empty ()) { + if (! i->category ().empty () || i->category ().find ("_") == 0) { cat_names.insert (std::make_pair (i->category (), i.operator-> ())); } }