Commit e356c5c5 authored by Cory Quammen's avatar Cory Quammen

Prevent Recent Files from being shown in shortcuts dialog

These change too often to have shortcuts assigned.
parent e02a26fc
......@@ -144,7 +144,7 @@ class pqCustomizeShortcutsModel : public QAbstractItemModel
// category menus. Ignore all but the alphabetical category to avoid duplicates.
if (actionName != "Recent Files" &&
if (actionName != "Recent_Files" &&
(!(root->name() == "Macros" && (actionName == "Edit..." || actionName == "Delete..."))))
TreeItem* myItem = new TreeItem(actionName, settingsKey, false, action, root);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment