mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-24 21:13:20 +00:00
Fixed small bug in GUI event-handler setting
This was SVN commit r2081.
This commit is contained in:
@@ -273,6 +273,8 @@ JSBool JSI_IGUIObject::setProperty(JSContext* cx, JSObject* obj, jsval id, jsval
|
||||
|
||||
CStr eventName (CStr(propName.substr(2)).LowerCase());
|
||||
e->m_ScriptHandlers[eventName] = func;
|
||||
|
||||
return JS_TRUE;
|
||||
}
|
||||
|
||||
// Retrieve the setting's type (and make sure it actually exists)
|
||||
|
||||
Reference in New Issue
Block a user