From 83ea1f65f53e1ff5ef5dc09e1c9dc706047cfc09 Mon Sep 17 00:00:00 2001 From: Shun Wang Date: Tue, 1 Sep 2026 17:53:49 +0800 Subject: [PATCH] bugfix: fix to syntax info messages showing in SEM syntax input box `infoText.text = textArea.applyScriptInfo ` which iss an imperative assignment to the Text element's text. In QML, that permanently binding the text: textArea.infoText . After that, when the engine returns a lavaan error and C++ calls setInfoText(result) , the Text element no longer reacts. --- QMLComponents/components/JASP/Controls/TextArea.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QMLComponents/components/JASP/Controls/TextArea.qml b/QMLComponents/components/JASP/Controls/TextArea.qml index f2bbeeca37..0ba0890c5e 100644 --- a/QMLComponents/components/JASP/Controls/TextArea.qml +++ b/QMLComponents/components/JASP/Controls/TextArea.qml @@ -239,7 +239,7 @@ TextAreaBase } break; default: - infoText.text = textArea.applyScriptInfo; + textArea.infoText = textArea.applyScriptInfo; textArea.hasScriptError = false; } }