From 42298ce197d4d1450554b4443d8ce2f476b7f695 Mon Sep 17 00:00:00 2001 From: Ryan Butler Date: Sun, 17 May 2026 10:27:18 -0500 Subject: [PATCH] Fix RADE selecting DIGU on 40m from RxApplet mode combo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit RxApplet's mode combo handler called `m_slice->setMode("RADE")` after emitting `radeActivated(true, ...)`. This sent the unknown mode string "RADE" to the radio and emitted `modeChanged("RADE")`, which triggered `onRadeSliceModeChanged` to call `deactivateRADE()` immediately after activation. Depending on how the radio firmware handles an unknown mode string, the slice could end up in DIGU instead of the DIGL correctly computed for 40m by the kBands band lookup in `activateRADE()`. The fix aligns RxApplet with VfoWidget, which correctly returns after emitting `radeActivated` without calling `setMode`. RADE is client-side only — the real mode (DIGL/DIGU) is set inside `activateRADE()` before the `onRadeSliceModeChanged` watchdog is connected. Co-Authored-By: Claude Sonnet 4.6 --- src/gui/RxApplet.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gui/RxApplet.cpp b/src/gui/RxApplet.cpp index d3507a1f..d20312b2 100644 --- a/src/gui/RxApplet.cpp +++ b/src/gui/RxApplet.cpp @@ -427,7 +427,6 @@ void RxApplet::buildUI() #ifdef HAVE_RADE if (mode == "RADE") { emit radeActivated(true, m_slice ? m_slice->sliceId() : -1); - if (m_slice) m_slice->setMode(mode); return; } // "RADE" is client-side only — the radio echoes back the real mode