[Bug]: Preset recall ignores current channel selection #9
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
on_recall_slot()sends the raw storedBSWVstring directly:Why this is a bug
The stored preset string already contains the original channel prefix, for example:
If the user later selects
C2in the UI and recalls that preset, the command can still go toC1instead of the currently selected channel.Fix approach
Do not send the stored command string unchanged.
Instead:
Preferred behaviour is to re-prefix based on the current UI channel.
Status
Still open.
Not fixed in the current v0.2 working copy.
Preset recall ignores current channel selectionto [Bug]: Preset recall ignores current channel selectionFixed in v0.2.3.
Preset recall no longer applies the stored
BSWVcommand unchanged with its original channel prefix.The recall path now strips any stored channel prefix and rebuilds the command for the currently selected UI channel.
Verification
Tested successfully on real hardware.
Because only one active connection to the SDG was practical during the test, verification was done manually in the GUI instead of with the helper test script:
Version can be found in archive for V0.2.3