It seems that it's just a matter of updating the right values:
on the CylinderModel::data we have
if (cyl->end.mbar)
ret = get_pressure_string(cyl->end, true);
else if (cyl->sample_end.mbar)
ret = get_pressure_string(cyl->sample_end, true);
break;
but on the setData, we have
case END:
if (CHANGED()) {
cyl->end = string_to_pressure(vString.toUtf8().data());
changed = true;
}
break;
so the cyl->sample_end will not ever be changed. *but* as the planner
code is big and complex, I wanna make sure of what the correct
intentions are.
Tomaz
_______________________________________________
subsurface mailing list
[email protected]
http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface