|
GeneralStonewall Magician
Joined: 02 Feb 2004 Posts: 364 Location: USA
|
Posted: Wed May 05, 2010 12:42 am
[3.16b] Bug: #update locks up multistate buttons. |
#update appears to lock up multistate buttons, preventing them from changing states. This can cause a multistate button to become useless if you're constantly using #update. Here's an example:
Code: |
<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
<trigger type="Alarm" priority="40" copy="yes">
<pattern>*0.1</pattern>
<value>#update Test1
#update Test2
#update Test3</value>
</trigger>
<button type="Multistate" priority="160" copy="yes">
<caption>Multi</caption>
<button>
<caption>one</caption>
</button>
<button>
<caption>two</caption>
</button>
</button>
<button name="Test1" priority="13" copy="yes">
<caption>1</caption>
</button>
<button name="Test2" priority="12" copy="yes">
<caption>2</caption>
</button>
<button name="Test3" priority="10" copy="yes">
<caption>3</caption>
</button>
</cmud>
|
Edit: It appears something is causing the multistate button to get exported wrong. The button states of are being copied twice; The second time as separate buttons.
Edit2: Ah, it's because I was exporting by selection and I had the multistate button expanded. |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Wed May 05, 2010 4:47 pm |
Confirmed and added to bug list. Thanks for posting the detailed script.
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|