mirror of
https://git.vladimir.cc/vladimir/ewsdr.git
synced 2026-08-25 18:43:51 +00:00
7b40eae17445c17e0d706cd25c947ffa3cbdc966
Channel orchestration (deactivate-on-tune-away, auto-CTCSS/pre-channel-drive restore) was glued to MainForm.ApplyVfoA, so only desktop/web-freq tuning ran it. Add TRadioController.OnAfterTune, fired at the very end of SetVfoA (after the rfVfoA render returns — outside its guard, no re-entrancy), wired to ChannelController.OnVfoTuned. Now every SetVfoA caller (desktop, web, CAT, encoder TuneActiveBy, SetActiveVfo, channel apply) is uniformly channel-aware and headless-compatible. ApplyVfoA becomes a thin delegate. Minor improvement: encoder tune-away now deactivates an active channel like desktop; SetActiveVfo/channel-apply are no-ops (freq matches). Foundation for moving RestoreBand's retune into the controller (Band command). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…
…
…
Languages
Pascal
96.4%
Python
2.9%
Shell
0.6%