aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/modules/assistant/AssistantPage.qml
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/modules/assistant/AssistantPage.qml')
-rw-r--r--desktop/modules/assistant/AssistantPage.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/modules/assistant/AssistantPage.qml b/desktop/modules/assistant/AssistantPage.qml
index 2970784..e088241 100644
--- a/desktop/modules/assistant/AssistantPage.qml
+++ b/desktop/modules/assistant/AssistantPage.qml
@@ -305,7 +305,7 @@ Column {
id: think
anchors.verticalCenter: parent.verticalCenter
checked: page.shown("thinking") !== "false"
- onToggled: page.asst.setKey("thinking", checked ? "true" : "false")
+ onToggled: on => page.asst.setKey("thinking", on ? "true" : "false")
}
Small {
anchors { left: think.right; leftMargin: 10; verticalCenter: parent.verticalCenter }