mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Fix LuaUtil::Callback
This commit is contained in:
parent
be100749f8
commit
d16fa553c8
6 changed files with 16 additions and 9 deletions
|
@ -340,7 +340,7 @@ namespace LuaUi
|
|||
{
|
||||
auto it = mCallbacks.find(name);
|
||||
if (it != mCallbacks.end())
|
||||
it->second(argument, mLayout);
|
||||
it->second.call(argument, mLayout);
|
||||
}
|
||||
|
||||
void WidgetExtension::keyPress(MyGUI::Widget*, MyGUI::KeyCode code, MyGUI::Char ch)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue