Valkenar Beginner
Joined: 12 Aug 2009 Posts: 15
|
Posted: Mon Aug 08, 2011 10:51 pm
Cmud 3.34 Hangs when using pick from Lua via function |
I have this:
Code: |
<class name="Test" id="738">
<func name="TestFunc" language="Lua" id="725">
<value>zs.func.pick("p:Text'","o:1",
"Option1: Result1",
"Option2: Result2",
"Option3: Result3")
</value>
</func>
<alias name="TestAlias" language="Lua" id="737">
<value>zs.execfunc("testfunc")
</value>
</alias>
</class>
|
And it hangs when testalias is run from the command line.
This is a boiled down example version, obviously. I have tried various combinations of returning values from the function, using them in the alias, etc, and it doesn't make a difference. This particular example hangs before you can pick from the list, but usually the experience I have is that it works until you try to switch windows, say go back to the settings window for example.
The Yesno function behaves identically. |
|