additional logic to avoid showing top-level menu actions in the key shortcut editor
This commit is contained in:
parent
56e950b189
commit
3df88accc6
@ -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…
Reference in New Issue
Block a user