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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user