mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
additional logic to avoid showing top-level menu actions in the key shortcut editor
This commit is contained in:
parent
56e950b189
commit
3df88accc6
1 changed files with 4 additions and 2 deletions
|
|
@ -371,8 +371,10 @@ KeyEditor::Tab::populate ()
|
||||||
}
|
}
|
||||||
|
|
||||||
//kinda kludgy way to avoid displaying menu items as mappable
|
//kinda kludgy way to avoid displaying menu items as mappable
|
||||||
if ((action_name.find ("Menu") == action_name.length() - 4) ||
|
if ((action_name.find (X_("Menu")) == action_name.length() - 4) ||
|
||||||
(action_name.find ("menu") == action_name.length() - 4) ||
|
(action_name.find (X_("menu")) == action_name.length() - 4) ||
|
||||||
|
(category.find (X_("Menu")) == category.length() - 4) ||
|
||||||
|
(category.find (X_("menu")) == category.length() - 4) ||
|
||||||
(action_name == _("RegionList"))) {
|
(action_name == _("RegionList"))) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue