From 9e803d749af50c55a2858b9c1c26cc3db5fa49bb Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Mon, 5 May 2014 17:36:39 +1000 Subject: GuiLua handles multiple windows now. --- lib/skang.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/skang.lua b/lib/skang.lua index 633a574..880af17 100644 --- a/lib/skang.lua +++ b/lib/skang.lua @@ -880,7 +880,7 @@ thingasm = function (names, ...) local args, err = loadstring('return ' .. thingy.widget) if args then setfenv(args, parent) - thingy.Cwidget = widget(args()) + thingy.Cwidget = widget(parent.window, args()) print('\nNO IDEA WHY this does isValid() three times on the action, and the first one being a string.') parent.W[name] = thingy else -- cgit v1.1