beremiz
Clone
Summary
Browse
Changes
Graph
SVGHMI: Fix multiple variable support in widget
svghmi
2020-08-26, Edouard Tisserant
acecaeadf20d
Parents
5ca37a7b89e2
Children
de4503de2f8c
SVGHMI: Fix multiple variable support in widget
1 files changed, 1 insertions(+), 1 deletions(-)
+1
-1
svghmi/widgets_common.ysl2
--- 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) {