svghmi/widgets_common.ysl2
branchsvghmi
changeset 2886 6c82fad8be65
parent 2884 50b9832c51fc
child 2889 4eeed820fd3a
--- a/svghmi/widgets_common.ysl2	Wed Mar 18 12:06:50 2020 +0100
+++ b/svghmi/widgets_common.ysl2	Thu Mar 19 09:31:07 2020 +0100
@@ -12,7 +12,7 @@
 };
 
 template "svg:*", mode="hmi_elements" {
-    const "widget", "func:parselabel(@inkscape:label)/widget";
+    const "widget", "func:widget(@id)";
     const "eltid","@id";
     |   "«@id»": {
     |     type: "«$widget/@type»",