widget: invalidate on visible flag change
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
9161fd0b2c
commit
8cd4fca6f9
2
widget.c
2
widget.c
|
@ -393,7 +393,7 @@ luaA_widget_newindex(lua_State *L)
|
||||||
{
|
{
|
||||||
case A_TK_VISIBLE:
|
case A_TK_VISIBLE:
|
||||||
(*widget)->isvisible = luaA_checkboolean(L, 3);
|
(*widget)->isvisible = luaA_checkboolean(L, 3);
|
||||||
return 0;
|
break;
|
||||||
default:
|
default:
|
||||||
return (*widget)->newindex ? (*widget)->newindex(L, token) : 0;
|
return (*widget)->newindex ? (*widget)->newindex(L, token) : 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue