luaobject: emit signals on class too
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
bb54142746
commit
3fbb5f1535
|
@ -251,7 +251,10 @@ luaA_object_emit_signal(lua_State *L, int oud,
|
|||
luaA_dofunction(L, nargs + 1, 0);
|
||||
}
|
||||
}
|
||||
lua_pop(L, nargs);
|
||||
/* Then emit signal on the class */
|
||||
lua_pushvalue(L, oud);
|
||||
lua_insert(L, - nargs - 1);
|
||||
luaA_class_emit_signal(L, luaA_class_get(L, - nargs - 1), name, nargs + 1);
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Loading…
Reference in New Issue