Commit a5c38565 authored by Cory Quammen's avatar Cory Quammen Committed by Kitware Robot

Merge topic 'no-recent-files-shortcuts' into release

e356c5c5 Prevent Recent Files from being shown in shortcuts dialog
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Utkarsh Ayachit's avatarUtkarsh Ayachit <utkarsh.ayachit@kitware.com>
Merge-request: !2852
parents e02a26fc e356c5c5
Pipeline #121847 failed with stage
in 0 seconds
......@@ -144,7 +144,7 @@ class pqCustomizeShortcutsModel : public QAbstractItemModel
// category menus. Ignore all but the alphabetical category to avoid duplicates.
continue;
}
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
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment