diff --git a/button.c b/button.c index 2a5d5cca9..ab3186434 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; }