Skip to content
Snippets Groups Projects
Commit ef9b6a7b authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Fix in keyword registration

(cherry picked from commit e5679dad)
parent ae0ef6cc
No related branches found
No related tags found
No related merge requests found
......@@ -572,7 +572,7 @@ void Keywords::addOutputComponent( const std::string& name, const std::string& k
bool Keywords::outputComponentExists( const std::string& name, const bool& custom ) const {
if( custom && cstring.find("customizable")!=std::string::npos ) return true;
for(unsigned i=0;i<cnames.size();++i){
if( name.find(cnames[i])!=std::string::npos ) return true;
if( name==cnames[i] ) return true;
}
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment