Commit 45166c6f authored by Samuel GAIST's avatar Samuel GAIST

[algorithms][template][edition] Fix analyzer method update

When editing an algorithm, checking the analyzer checkbox would
replace the current process method by null. This patch fixes that.
parent c0aad919
Pipeline #32499 passed with stage
in 18 minutes and 13 seconds
......@@ -222,8 +222,9 @@ function setupEditor(algorithm, dataformats, libraries)
}
{% if not binary %}
var algorithm_type = type_sequential_selector[0].checked ? beat.contributions.editor.SEQUENTIAL : beat.contributions.editor.AUTONOMOUS
source_code_editor.changeProcessMethod(checkbox_analyzer[0].checked,
type_sequential_selector[0].checked);
algorithm_type);
{% endif %}
inputs_editor.setAnalyzer(checkbox_analyzer[0].checked);
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment