# HG changeset patch
# User Edouard Tisserant
# Date 1638262362 -3600
# Node ID a65bcbb6af205dcbc5eb4e4241e01b209a6b051b
# Parent  6532d7a1a3b566f4269efb547822ebacb4cd3c0b
SVGHMI: more accurate filtering of elements to unlink or not

diff -r 6532d7a1a3b5 -r a65bcbb6af20 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)»