diff options
Diffstat (limited to '')
-rw-r--r-- | lib/skang.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/skang.lua b/lib/skang.lua index 8de692e..854b0e9 100644 --- a/lib/skang.lua +++ b/lib/skang.lua | |||
@@ -1069,6 +1069,7 @@ end | |||
1069 | GOAL - GuiLua.c -> _on_click() -> lauL_dostring(L, wid->action) | 1069 | GOAL - GuiLua.c -> _on_click() -> lauL_dostring(L, wid->action) |
1070 | We want this action to be performed in the environment of the module that created the widget. | 1070 | We want this action to be performed in the environment of the module that created the widget. |
1071 | Or the one that set the action. | 1071 | Or the one that set the action. |
1072 | NOTE - Can't refer to local variables from within actions. | ||
1072 | 1073 | ||
1073 | purkle | 1074 | purkle |
1074 | local purkle = require 'purkle' | 1075 | local purkle = require 'purkle' |