forked from Shinonome/dots-hyprland
settings: prompt config add callater for setting
This commit is contained in:
@@ -53,7 +53,9 @@ ContentPage {
|
|||||||
text: ConfigOptions.ai.systemPrompt
|
text: ConfigOptions.ai.systemPrompt
|
||||||
wrapMode: TextEdit.Wrap
|
wrapMode: TextEdit.Wrap
|
||||||
onTextChanged: {
|
onTextChanged: {
|
||||||
ConfigLoader.setConfigValueAndSave("ai.systemPrompt", text);
|
Qt.callLater(() => {
|
||||||
|
ConfigLoader.setConfigValueAndSave("ai.systemPrompt", text);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user