Skip to content

Commit 6938809

Browse files
arafatkatzeCline Evaluation
andauthored
Fix: edge case of changing language in settings (RooCodeInc#3681)
* Fix: edge case of changing language in settings * Fix: Temporary revert protobus changes for Toggle plan and act mode --------- Co-authored-by: Cline Evaluation <[email protected]>
1 parent b737911 commit 6938809

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

.changeset/five-bikes-impress.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"claude-dev": patch
3+
---
4+
5+
Fix edge case of changing language in settings

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui/src/components/chat/ChatTextArea.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -970,6 +970,8 @@ const ChatTextArea = forwardRef<HTMLTextAreaElement, ChatTextAreaProps>(
970970
type: "togglePlanActMode",
971971
chatSettings: {
972972
mode: newMode,
973+
preferredLanguage: chatSettings.preferredLanguage,
974+
openAIReasoningEffort: chatSettings.openAIReasoningEffort,
973975
},
974976
chatContent: {
975977
message: inputValue.trim() ? inputValue : undefined,

webview-ui/src/components/settings/SettingsView.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ const SettingsView = ({ onDone }: SettingsViewProps) => {
119119
type: "togglePlanActMode",
120120
chatSettings: {
121121
mode: pendingTabChange,
122+
preferredLanguage: chatSettings.preferredLanguage,
123+
openAIReasoningEffort: chatSettings.openAIReasoningEffort,
122124
},
123125
})
124126
setPendingTabChange(null)

0 commit comments

Comments
 (0)