aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-05-05 17:36:39 +1000
committerDavid Walter Seikel2014-05-05 17:36:39 +1000
commit9e803d749af50c55a2858b9c1c26cc3db5fa49bb (patch)
tree3dca283fac62a99601b7dbe2d237a79be8aed0aa /lib
parentWhitespace-- (diff)
downloadSledjHamr-9e803d749af50c55a2858b9c1c26cc3db5fa49bb.zip
SledjHamr-9e803d749af50c55a2858b9c1c26cc3db5fa49bb.tar.gz
SledjHamr-9e803d749af50c55a2858b9c1c26cc3db5fa49bb.tar.bz2
SledjHamr-9e803d749af50c55a2858b9c1c26cc3db5fa49bb.tar.xz
GuiLua handles multiple windows now.
Diffstat (limited to 'lib')
-rw-r--r--lib/skang.lua2
1 files changed, 1 insertions, 1 deletions
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, ...)
880 local args, err = loadstring('return ' .. thingy.widget) 880 local args, err = loadstring('return ' .. thingy.widget)
881 if args then 881 if args then
882 setfenv(args, parent) 882 setfenv(args, parent)
883 thingy.Cwidget = widget(args()) 883 thingy.Cwidget = widget(parent.window, args())
884print('\nNO IDEA WHY this does isValid() three times on the action, and the first one being a string.') 884print('\nNO IDEA WHY this does isValid() three times on the action, and the first one being a string.')
885 parent.W[name] = thingy 885 parent.W[name] = thingy
886 else 886 else