From 50a3c1a1e5a5ad1f52a330f8b9ae53cbdd07132f Mon Sep 17 00:00:00 2001 From: Lucas Date: Wed, 30 Sep 2026 16:35:15 +0200 Subject: [PATCH] fix: handle abort password --- src/features/dsp408/dsp408.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/features/dsp408/dsp408.ts b/src/features/dsp408/dsp408.ts index 2d0e9aa..811a046 100644 --- a/src/features/dsp408/dsp408.ts +++ b/src/features/dsp408/dsp408.ts @@ -145,7 +145,9 @@ export function forDSP408(dsp: DSP408, setDsps: SetDsps, notify: NotifyFn) { async function abortLocked() { await invoke('disconnect_dsp408', { id: dsp.id }).catch(() => {}); - updateDSP(setDsps, dsp.id, (d) => ({ ...d, passwordRequired: true })); + + updateDSPState(); + updateDSP(setDsps, dsp.id, (d) => ({ ...d, isConnecting: false, passwordRequired: true })); } async function connectInternal(password?: string) {