File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
panels/UIProgrammer/ParameterController Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ func get_value() -> float:
154154func get_function () -> String :
155155 var selected : int = _function_list .get_selected_id () == - 1
156156
157- if selected :
157+ if selected == - 1 :
158158 return ""
159159 else :
160160 return _function_list .get_item_text (selected )
@@ -205,6 +205,7 @@ func clear() -> void:
205205 _functions .clear ()
206206 _function_list .clear ()
207207 _slider .set_value_no_signal (0 )
208+ _refernce_fixture = null
208209
209210 remove_subscription ()
210211 set_override_bg (false )
@@ -271,7 +272,7 @@ func _on_default_pressed() -> void:
271272
272273## Called when a function is selected
273274func _on_function_list_item_selected (index : int ) -> void :
274- function_selected .emit (get_function ( ))
275+ function_selected .emit (_function_list . get_item_text ( index ))
275276
276277
277278## Called for each GUI input on the value label
You can’t perform that action at this time.
0 commit comments