svghmi/widgets_common.ysl2
branchsvghmi
changeset 3040 acecaeadf20d
parent 3026 d454ed480c0f
child 3058 6ea4b7e1a9ed
--- a/svghmi/widgets_common.ysl2	Wed Aug 26 11:34:06 2020 +0200
+++ b/svghmi/widgets_common.ysl2	Wed Aug 26 14:24:43 2020 +0200
@@ -183,7 +183,7 @@
         }
 
         apply_hmi_value(index, new_val) {
-            return apply_hmi_value(this.get_variable_index(0), new_val);
+            return apply_hmi_value(this.get_variable_index(index), new_val);
         }
 
         new_hmi_value(index, value, oldval) {