- fixed the item check in OptionMenuItemCommand.
This was calling the wrong GetItem function.
This commit is contained in:
parent
443ac50887
commit
7b1645d239
3 changed files with 9 additions and 3 deletions
|
|
@ -448,6 +448,12 @@ DEFINE_ACTION_FUNCTION(DMenu, GetItem)
|
|||
ACTION_RETURN_OBJECT(self->GetItem(name));
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION(DOptionMenuDescriptor, GetItem)
|
||||
{
|
||||
PARAM_SELF_PROLOGUE(DOptionMenuDescriptor);
|
||||
PARAM_NAME(name);
|
||||
ACTION_RETURN_OBJECT(self->GetItem(name));
|
||||
}
|
||||
|
||||
|
||||
bool DMenu::DimAllowed()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue