fix(desktop): Prevent Model response Interruption when opening settings dialog (#25114)

This commit is contained in:
OpeOginni 2026-05-01 03:27:38 +02:00 committed by GitHub
commit a9d399699e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 3 deletions

View file

@ -329,6 +329,7 @@ export const SettingsGeneral: Component = () => {
label={(o) => o.label}
onSelect={(option) => {
if (!option) return
if (option.value === currentShell()) return
globalSync.updateConfig({ shell: option.value })
}}
variant="secondary"