Merging default.

--HG--
branch : gsoc2012-gui-editor
hg/feature/sse2
dfighter1985 12 years ago
commit d2fd01393f

@ -71,6 +71,9 @@ namespace NLGUI
/// return pointer to action handler or null if it doesn't exist /// return pointer to action handler or null if it doesn't exist
IActionHandler *getActionHandler(const std::string &name) const IActionHandler *getActionHandler(const std::string &name) const
{ {
if( name.empty() )
return NULL;
TFactoryMap::const_iterator it = FactoryMap.find(name); TFactoryMap::const_iterator it = FactoryMap.find(name);
if( it == FactoryMap.end() ) if( it == FactoryMap.end() )
{ {

Loading…
Cancel
Save