diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 06032d9..8df9266 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -1532,7 +1532,7 @@ export default function App() { // Seed the current break-in from the rig when the CW panel becomes active in // Icom mode (so the control reflects the radio's real state). useEffect(() => { - if (cwSource !== 'icom' || !wkEnabled || !(catState.backend === 'icom' && catState.connected)) return; + if (cwSource !== 'icom' || !wkEnabled || !((catState.backend === 'icom' || catState.backend === 'icom-net') && catState.connected)) return; GetIcomState().then((s: any) => { if (s && typeof s.break_in === 'number') setIcomBreakIn(s.break_in); }).catch(() => {}); }, [cwSource, wkEnabled, catState.backend, catState.connected]); // Auto-call: repeat the clicked macro (e.g. F1 CQ) every (message + N seconds) @@ -1556,7 +1556,7 @@ export default function App() { // skips the log that hasn't happened yet. const wkSendGenRef = useRef(0); useEffect(() => { - const connected = cwSource === 'icom' ? (catState.backend === 'icom' && catState.connected) + const connected = cwSource === 'icom' ? ((catState.backend === 'icom' || catState.backend === 'icom-net') && catState.connected) : cwSource === 'flex' ? (catState.backend === 'flex' && catState.connected) : cwSource === 'yaesu' ? (catState.backend === 'yaesu' && catState.connected) : cwSource === 'kenwood' ? (catState.backend === 'kenwood' && catState.connected) diff --git a/frontend/src/components/SettingsModal.tsx b/frontend/src/components/SettingsModal.tsx index 6e041d8..437434c 100644 --- a/frontend/src/components/SettingsModal.tsx +++ b/frontend/src/components/SettingsModal.tsx @@ -4893,7 +4893,7 @@ function SettingsModalImpl({ onClose, onSaved, initialSection, onMainPaneChanged {wk.engine === 'icom' ? ( <> - {(!catCfg.enabled || catCfg.backend !== 'icom') && ( + {(!catCfg.enabled || (catCfg.backend !== 'icom' && catCfg.backend !== 'icom-net')) && (
⚠ {t('wk.catWarnIcom', { backend: catCfg.enabled ? (catCfg.backend || 'none') : 'disabled' })}