widget: invalidate on visible flag change

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-08-25 14:19:36 +02:00
parent 9161fd0b2c
commit 8cd4fca6f9
1 changed files with 1 additions and 1 deletions

View File

@ -393,7 +393,7 @@ luaA_widget_newindex(lua_State *L)
{
case A_TK_VISIBLE:
(*widget)->isvisible = luaA_checkboolean(L, 3);
return 0;
break;
default:
return (*widget)->newindex ? (*widget)->newindex(L, token) : 0;
}