From 8cd4fca6f98963866eddbbe4c10bda395fcd7240 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 25 Aug 2008 14:19:36 +0200 Subject: [PATCH] widget: invalidate on visible flag change Signed-off-by: Julien Danjou --- widget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widget.c b/widget.c index 29f708f98..9cfe04967 100644 --- a/widget.c +++ b/widget.c @@ -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; }