mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-15 03:59:06 +00:00
MODIFIED: no more action handler spam.
This commit is contained in:
parent
8c2d7ba426
commit
95d47ae17c
1 changed files with 3 additions and 0 deletions
|
@ -71,6 +71,9 @@ namespace NLGUI
|
|||
/// return pointer to action handler or null if it doesn't exist
|
||||
IActionHandler *getActionHandler(const std::string &name) const
|
||||
{
|
||||
if( name.empty() )
|
||||
return NULL;
|
||||
|
||||
TFactoryMap::const_iterator it = FactoryMap.find(name);
|
||||
if( it == FactoryMap.end() )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue