Skip to content

Commit 8f06ac8

Browse files
fix(gui): move Calibrate AGC-T under Clear ATU Memories and shorten its label (#5835). Principle XIII. (#5836)
## Summary Fixes #5835 ### What was changed fix(gui): move Calibrate AGC-T under Clear ATU Memories and shorten its label (#5835). Principle XIII. ### Files modified - `src/gui/MainWindow_Menus.cpp` ``` src/gui/MainWindow_Menus.cpp | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) ``` --- Generated by AetherClaude (automated agent for AetherSDR) --- <sub>🤖 aethersdr-agent · cost: $1.0445 · model: claude-opus-5</sub> Co-authored-by: aethersdr-agent[bot] <273844287+aethersdr-agent[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
1 parent d3743a9 commit 8f06ac8

1 file changed

Lines changed: 15 additions & 13 deletions

File tree

src/gui/MainWindow_Menus.cpp

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1318,6 +1318,21 @@ void MainWindow::buildMenuBar()
13181318
m_appletPanel->txApplet()->confirmAndClearAtuMemories();
13191319
}
13201320
});
1321+
// Discoverability mitigation for AGC-T calibration's right-click-only
1322+
// entry point (docs/agc-t-calibration-design.md §0 flags this exact
1323+
// tension and prescribes a mitigation — this is the Tools-menu half of
1324+
// it, additive to the slider's right-click menu, not a replacement).
1325+
// Requested by Larry, KE2ET. Targets the active slice, same as the
1326+
// right-click path (RxApplet.cpp) — "the currently selected panadapter."
1327+
// No kTxKeyingProperty: calibration listens to the noise floor, it does
1328+
// not key the transmitter like the two sweeps above it.
1329+
auto* agcTCalibrationAction = toolsMenu->addAction(
1330+
"Calibrate AGC-T...", this, [this] {
1331+
if (auto* s = activeSlice()) {
1332+
showAgcCalibrationDialog(s->sliceId());
1333+
}
1334+
});
1335+
m_agcTCalibrationMenuAction = agcTCalibrationAction;
13211336

13221337
toolsMenu->addSeparator();
13231338
viewMenu->removeAction(callsignLookupAct);
@@ -1395,19 +1410,6 @@ void MainWindow::buildMenuBar()
13951410
auto* gpsDashboardAction = toolsMenu->addAction("GPS Dashboard...", this, [this] {
13961411
showGpsLocationDialog();
13971412
});
1398-
// Discoverability mitigation for AGC-T calibration's right-click-only
1399-
// entry point (docs/agc-t-calibration-design.md §0 flags this exact
1400-
// tension and prescribes a mitigation — this is the Tools-menu half of
1401-
// it, additive to the slider's right-click menu, not a replacement).
1402-
// Requested by Larry, KE2ET. Targets the active slice, same as the
1403-
// right-click path (RxApplet.cpp) — "the currently selected panadapter."
1404-
auto* agcTCalibrationAction = toolsMenu->addAction(
1405-
"Calibrate AGC-T Against Noise Floor...", this, [this] {
1406-
if (auto* s = activeSlice()) {
1407-
showAgcCalibrationDialog(s->sliceId());
1408-
}
1409-
});
1410-
m_agcTCalibrationMenuAction = agcTCalibrationAction;
14111413
toolsMenu->addAction(networkAction);
14121414
toolsMenu->addAction("Runtime Monitor...", this, [this] {
14131415
showSystemInfoDialog();

0 commit comments

Comments
 (0)