<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 31/10/2016 17:10, Dirk Hohndel
wrote:<br>
</div>
<blockquote
cite="mid:1CA9A897-7CC9-4A54-AC6C-82C00AA9FA10@hohndel.org"
type="cite">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<div><br>
</div>
<div><br>
On Oct 31, 2016, at 09:04, Willem Ferguson <<a
moz-do-not-send="true"
href="mailto:willemferguson@zoology.up.ac.za"><a class="moz-txt-link-abbreviated" href="mailto:willemferguson@zoology.up.ac.za">willemferguson@zoology.up.ac.za</a></a>>
wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<meta content="text/html; charset=utf-8"
http-equiv="Content-Type">
<div class="moz-cite-prefix">On 31/10/2016 15:13, Dirk Hohndel
wrote:<br>
</div>
<blockquote
cite="mid:116833D3-BF54-409F-89AB-1FF463573000@hohndel.org"
type="cite">
<div>
<div>Even when the Apply button is selected, the option(s)
(e.g. VPMB conservatism, GFHigh, GFLow) are not greyed
out in the appropriate way. This only happens once
either the VPMB or the Bühlmann radio button is
selected.</div>
</div>
</blockquote>
<br>
<blockquote
cite="mid:116833D3-BF54-409F-89AB-1FF463573000@hohndel.org"
type="cite">
<div>That isn’t hard to do in the UI code. Do you need help
with that?</div>
</blockquote>
<br>
Please give me a pointer or two.<br>
</div>
</blockquote>
<div><br>
</div>
Have a conditional on the 'enable' property that links it to the
value of the checkbox.
<div>So in the onTriggered() function of the checkbox, enable /
disable the other elements accordingly.</div>
<div><br>
</div>
<br>
<div>/D</div>
</blockquote>
I think it may just be a case of reading the value from the
preference file and initialising the appropriate radio button. Once
the appropriate radio button has been selected manually, everything
appears to be ok. The deco model appears not to be saved. If I
select VPMB, SAVE and exit, restart Subsurface, the active radio
button is Bühlmann again.<br>
Kind regards,<br>
willem<br>
<br>
</body>
</html>