SVGHMI: more accurate filtering of elements to unlink or not
authorEdouard Tisserant
Tue, 30 Nov 2021 09:52:42 +0100
changeset 3393 a65bcbb6af20
parent 3390 6532d7a1a3b5
child 3394 9ea29ac18837
child 3402 3f54a680fe45
SVGHMI: more accurate filtering of elements to unlink or not
svghmi/inline_svg.ysl2
--- a/svghmi/inline_svg.ysl2	Tue Nov 16 20:31:11 2021 +0100
+++ b/svghmi/inline_svg.ysl2	Tue Nov 30 09:52:42 2021 +0100
@@ -174,7 +174,7 @@
     param "seed";
     choose {
         // node recursive copy ends when finding a widget
-        when "@id = $hmi_elements/@id" {
+        when "@id = $hmi_widgets/@id" {
             // place a clone instead of copying
             use{
                 attrib "xlink:href" > «concat('#',@id)»