From 39c351d112f7633ba496b973067a511920c96dd3 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 27 Apr 2009 14:32:39 +0200 Subject: [PATCH] button: add modifiers field in __newindex Signed-off-by: Julien Danjou --- button.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/button.c b/button.c index 2a5d5cca..ab318643 100644 --- a/button.c +++ b/button.c @@ -219,6 +219,8 @@ luaA_button_newindex(lua_State *L) case A_TK_BUTTON: button->button = luaL_checknumber(L, 3); break; + case A_TK_MODIFIERS: + luaA_setmodifiers(L, 3, &button->mod); default: break; }