Ticket #42: selectlayer.lua

File selectlayer.lua, 307 bytes (added by Thomas Bernard, 20 months ago)

lua script to reproduce the issue

Line 
1-- test script for issue #42
2-- http://pulkomandy.tk/projects/GrafX2/ticket/42
3
4selectbox("title",
5  "1", function () selectlayer(0) ; end,
6  "2", function () selectlayer(1) ; end,
7  "3", function () selectlayer(2) ; end,
8  "4", function () selectlayer(3) ; end,
9  "5", function () selectlayer(4) ; end
10);
11