MCU: Fix "Disabled" option for Function Keys

Choosing some option and then trying to remove it by clicking "Disabled"
previously did nothing. Now sets it back to blank. Also fixed for Tascam
US-2400.
This commit is contained in:
Franke Burgarino
2026-01-06 17:07:09 -06:00
parent 3f9fe81da9
commit 8c745ff78c
2 changed files with 2 additions and 6 deletions

View File

@@ -653,11 +653,9 @@ MackieControlProtocolGUI::action_changed (const Glib::ustring &sPath, const Tree
{
string action_path = (*iter)[action_model.columns().path];
// Remove Binding is not in the action map but still valid
bool remove = false;
if (action_path == "Remove Binding") {
if (action_path.empty()) {
remove = true;
}

View File

@@ -442,11 +442,9 @@ US2400ProtocolGUI::action_changed (const Glib::ustring &sPath, const TreeModel::
{
string action_path = (*iter)[action_model.columns().path];
// Remove Binding is not in the action map but still valid
bool remove = false;
if (action_path == "Remove Binding") {
if (action_path.empty()) {
remove = true;
}