svghmi/hmi_tree.ysl2
branchsvghmi
changeset 3129 f2709923c82c
parent 3127 d4dfd47f8156
child 3205 62753288be74
--- a/svghmi/hmi_tree.ysl2	Tue Feb 09 07:46:02 2021 +0100
+++ b/svghmi/hmi_tree.ysl2	Tue Feb 09 07:55:16 2021 +0100
@@ -143,7 +143,14 @@
     }
 }
 
-const "_parsed_widgets" apply "$hmi_elements", mode="parselabel";
+const "_parsed_widgets" {
+    widget type="VarInitPersistent" {
+        arg value="0";
+        path value="lang";
+    }
+    apply "$hmi_elements", mode="parselabel";
+}
+
 const "parsed_widgets","exsl:node-set($_parsed_widgets)";
 
 def "func:widget" {