settings: prompt config add callater for setting

This commit is contained in:
end-4
2025-06-29 21:04:52 +02:00
parent abdfd17482
commit 65f9b6a242
@@ -53,7 +53,9 @@ ContentPage {
text: ConfigOptions.ai.systemPrompt
wrapMode: TextEdit.Wrap
onTextChanged: {
ConfigLoader.setConfigValueAndSave("ai.systemPrompt", text);
Qt.callLater(() => {
ConfigLoader.setConfigValueAndSave("ai.systemPrompt", text);
});
}
}
}