branch | svghmi |
changeset 3004 | 705e34c6fe93 |
parent 3001 | 003fd80ff0b8 |
child 3035 | d1fc8c55c1d3 |
--- a/svghmi/widget_dropdown.ysl2 Mon Aug 03 18:25:23 2020 +0200 +++ b/svghmi/widget_dropdown.ysl2 Tue Aug 04 11:53:39 2020 +0200 @@ -38,7 +38,7 @@ // Called when a menu entry is clicked on_selection_click: function(selection) { this.close(); - apply_hmi_value(this.get_idx(0), selection); + this.apply_hmi_value(0, selection); }, on_button_click: function() { this.open();