ProgrammingCube / lcdhost

Automatically exported from code.google.com/p/lcdhost
1 stars 0 forks source link

LH_FLAG_READONLY items do not load values #12

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I am fully aware that LH_FLAG_READONLY setup items do not save data, and this 
is fine. However, items that default to LH_FLAG_READONLY but which can become 
editable through the selection of certain options do not load their values 
which is problematic.

replicate:
1. Add two setup items to a plugin, firstly a float with to LH_FLAG_READONLY 
and secondly a check box.

2. Make the check box enable the text box when ticked.

3. Now using this plugin tick the box, edit the float and save the layout

4. Reopen the layout and the saved data will not be loaded, although the box 
will be editable. Presumably the float was "loaded" first and discarded as it 
was read only, then the check box's true state was loaded making the float 
editable.

Original issue reported on code.google.com by a...@bridgesuk.com on 3 Feb 2011 at 11:00

GoogleCodeExporter commented 8 years ago
Your presumption is correct. I'll change that so programmatic changes are 
forwarded.

Original comment by linkdata...@gmail.com on 4 Feb 2011 at 12:04

GoogleCodeExporter commented 8 years ago

Original comment by linkdata...@gmail.com on 6 Feb 2011 at 5:41

GoogleCodeExporter commented 8 years ago

Original comment by linkdata...@gmail.com on 16 Feb 2011 at 9:53