From 65f9b6a242646bf1ddbe933b141df89f24152574 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sun, 29 Jun 2025 21:04:52 +0200 Subject: [PATCH] settings: prompt config add callater for setting --- .config/quickshell/modules/settings/ServicesConfig.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.config/quickshell/modules/settings/ServicesConfig.qml b/.config/quickshell/modules/settings/ServicesConfig.qml index 1be540363..25e2ba420 100644 --- a/.config/quickshell/modules/settings/ServicesConfig.qml +++ b/.config/quickshell/modules/settings/ServicesConfig.qml @@ -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); + }); } } }