Unverified Commit de3657f7 authored by Kay Kasemir's avatar Kay Kasemir Committed by GitHub
Browse files

Merge pull request #2399 from ControlSystemStudio/tank-scale-prop

Tank Widget: Mapping for legacy BOY property show_scale
parents 8605da0e 1a8f9c2c
Pipeline #120764 passed with stage
in 28 minutes and 1 second
......@@ -96,6 +96,10 @@ public class TankWidget extends PVWidget
if (element != null)
tank.font.readFromXML(model_reader, element);
element = XMLUtil.getChildElement(xml, "show_scale");
if (element != null)
tank.scale_visible.readFromXML(model_reader, element);
if (XMLUtil.getChildBoolean(xml, "show_markers").orElse(true) &&
(XMLUtil.getChildBoolean(xml, "show_hi").orElse(true) ||
XMLUtil.getChildBoolean(xml, "show_hihi").orElse(true) ||
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment